Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00156/0.00156, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.256/0.256, allocations: 46.1 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 76.84 kB / 417.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.153, allocations: 62.47 MB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01664/0.1697, allocations: 12.26 MB / 492.4 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.1801, allocations: 3.944 MB / 496.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.1823, allocations: 63.88 kB / 496.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003532/0.1859, allocations: 1.304 MB / 497.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.1914, allocations: 1.724 MB / 499.4 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1932, allocations: 491 kB / 499.9 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006236/0.1994, allocations: 3.603 MB / 0.4917 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0035/0.203, allocations: 2.017 MB / 0.4937 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.2055, allocations: 1.191 MB / 0.4948 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.2083, allocations: 1.697 MB / 0.4965 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007103/0.209, allocations: 243.9 kB / 0.4967 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.2114, allocations: 0.9361 MB / 0.4976 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002038/0.2135, allocations: 1.574 MB / 0.4992 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.216, allocations: 1.875 MB / 0.501 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2602/0.4762, allocations: 5.888 MB / 0.5067 GB, free: 18.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.4763, allocations: 0.5312 kB / 0.5067 GB, free: 18.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.4763, allocations: 0.8438 kB / 0.5067 GB, free: 18.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002503/0.4765, allocations: 3.594 kB / 0.5068 GB, free: 18.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01043/0.487, allocations: 4.12 MB / 0.5108 GB, free: 16.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.487, allocations: 11.97 kB / 0.5108 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.4989, allocations: 3.075 MB / 0.5138 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004852/0.5037, allocations: 1.856 MB / 0.5156 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.504, allocations: 186.6 kB / 0.5158 GB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.505, allocations: 252.3 kB / 0.516 GB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/0.5244, allocations: 10.49 MB / 0.5263 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.251e-05/0.5245, allocations: 30.53 kB / 0.5263 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004178/0.5249, allocations: 115.8 kB / 0.5264 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003992/0.5289, allocations: 2.556 MB / 0.5289 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/0.5461, allocations: 9.916 MB / 0.5386 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05355/0.5997, allocations: 34.47 MB / 0.5723 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.6106, allocations: 5.187 MB / 0.5773 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003546/0.6142, allocations: 2.295 MB / 0.5796 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/0.6162, allocations: 1.883 MB / 0.5814 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.6162, allocations: 60.03 kB / 0.5815 GB, free: 11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 6.102e-06/0.6163, allocations: 0 / 0.5815 GB, free: 11 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03594/0.6522, allocations: 13.97 MB / 0.5951 GB, free: 13.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.6523, allocations: 74.5 kB / 0.5952 GB, free: 12.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/0.656, allocations: 2.63 MB / 0.5977 GB, free: 10.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004466/0.6564, allocations: 57.7 kB / 0.5978 GB, free: 10.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001949/0.6584, allocations: 2.627 MB / 0.6004 GB, free: 7.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.6595, allocations: 0.8452 MB / 0.6012 GB, free: 6.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/0.6611, allocations: 1.052 MB / 0.6022 GB, free: 5.703 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6612, allocations: 301.1 kB / 0.6025 GB, free: 5.406 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00346/0.6647, allocations: 2.2 MB / 0.6046 GB, free: 3.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006022/0.6707, allocations: 5.077 MB / 0.6096 GB, free: 12.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.6812, allocations: 7.973 MB / 0.6174 GB, free: 3.812 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.09e-05/0.6813, allocations: 32 kB / 0.6174 GB, free: 3.781 MB / 462.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01459/0.6959, allocations: 7.885 MB / 0.6251 GB, free: 12.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.696, allocations: 48 kB / 0.6252 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/0.6961, allocations: 100 kB / 0.6253 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/0.6985, allocations: 0.7936 MB / 0.626 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/0.7027, allocations: 1.185 MB / 0.6272 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/0.7093, allocations: 4.525 MB / 0.6316 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004171/0.7135, allocations: 295.7 kB / 0.6319 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008249/0.7143, allocations: 300 kB / 0.6322 GB, free: 4.926 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003831/0.7182, allocations: 2.02 MB / 0.6341 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005055/0.7187, allocations: 256.6 kB / 0.6344 GB, free: 2.645 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00844/0.7271, allocations: 4.723 MB / 0.639 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.628e-05/0.7272, allocations: 49.94 kB / 0.6391 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.7272, allocations: 0 / 0.6391 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/0.7273, allocations: 15.91 kB / 0.6391 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/0.7465, allocations: 10.53 MB / 0.6494 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/0.7466, allocations: 4.094 kB / 0.6494 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.7482, allocations: 367.3 kB / 0.6497 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00213/0.7504, allocations: 0.6563 MB / 0.6504 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/0.7506, allocations: 43.94 kB / 0.6504 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005332/0.756, allocations: 3.904 MB / 0.6542 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.756, allocations: 7.938 kB / 0.6542 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.7672, allocations: 7.14 MB / 0.6612 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/0.7678, allocations: 305.7 kB / 0.6615 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/0.7682, allocations: 43.98 kB / 0.6615 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.7694, allocations: 135.8 kB / 0.6617 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/0.7697, allocations: 133 kB / 0.6618 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.7699, allocations: 66.64 kB / 0.6618 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002371/0.7723, allocations: 1.623 MB / 0.6634 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7723, allocations: 4 kB / 0.6634 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003591/0.7759, allocations: 0.9088 MB / 0.6643 GB, free: 3.594 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004208/0.7763, allocations: 182.2 kB / 0.6645 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01404/0.7904, allocations: 8.677 MB / 0.673 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.7904, allocations: 9.938 kB / 0.673 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002844/0.7933, allocations: 2.022 MB / 0.6749 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.7952, allocations: 365.4 kB / 0.6753 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.8103, allocations: 9.424 MB / 0.6845 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/0.8139, allocations: 3.167 MB / 0.6876 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004395/0.8183, allocations: 1.953 MB / 0.6895 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006614/0.819, allocations: 207.4 kB / 0.6897 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.819, allocations: 0 / 0.6897 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of Templates: time 0.2488/1.068, allocations: 30.76 MB / 0.7197 GB, free: 192.9 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches