Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001093, allocations: 117.9 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 208 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1817/0.1817, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 75.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2441, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.009278/0.2535, allocations: 10.24 MB / 0.5417 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005752/0.2592, allocations: 3.785 MB / 0.5454 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.2599, allocations: 54.75 kB / 0.5454 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.2629, allocations: 1.939 MB / 0.5473 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.2656, allocations: 1.67 MB / 0.549 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009894/0.2666, allocations: 0.6199 MB / 0.5496 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002946/0.2695, allocations: 3.362 MB / 0.5528 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.2716, allocations: 2.575 MB / 0.5554 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.2726, allocations: 1.238 MB / 0.5566 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.2743, allocations: 1.67 MB / 0.5582 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003433/0.2746, allocations: 252 kB / 0.5584 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.2761, allocations: 1.022 MB / 0.5594 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.2772, allocations: 1.562 MB / 0.561 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.2786, allocations: 1.813 MB / 0.5627 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004631/0.2833, allocations: 5.806 MB / 0.5684 GB, free: 11.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2833, allocations: 4 kB / 0.5684 GB, free: 11.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2833, allocations: 0 / 0.5684 GB, free: 11.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.4e-05/0.2833, allocations: 0 / 0.5684 GB, free: 11.91 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.005069/0.2884, allocations: 4.105 MB / 0.5724 GB, free: 7.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2885, allocations: 8.031 kB / 0.5724 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005581/0.294, allocations: 1.8 MB / 0.5742 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.2966, allocations: 1.921 MB / 0.5761 GB, free: 3.941 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.2967, allocations: 189.2 kB / 0.5762 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000371/0.2971, allocations: 263.8 kB / 0.5765 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009564/0.3067, allocations: 8.451 MB / 0.5847 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.28e-05/0.3068, allocations: 39.64 kB / 0.5848 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/0.307, allocations: 123.9 kB / 0.5849 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.3093, allocations: 1.692 MB / 0.5865 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009948/0.3192, allocations: 7.114 MB / 0.5935 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02786/0.3471, allocations: 34.08 MB / 0.6268 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006056/0.3532, allocations: 3.296 MB / 0.63 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.3547, allocations: 1.462 MB / 0.6314 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004855/0.3596, allocations: 4.461 MB / 0.6358 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3596, allocations: 47.06 kB / 0.6358 GB, free: 4.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 2.755e-06/0.3596, allocations: 0 / 0.6358 GB, free: 4.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.02373/0.3834, allocations: 11.75 MB / 0.6473 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.3835, allocations: 166.9 kB / 0.6475 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/0.3874, allocations: 3.726 MB / 0.6511 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.637e-05/0.3875, allocations: 45.7 kB / 0.6511 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001605/0.3891, allocations: 2.862 MB / 0.6539 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.3895, allocations: 0.5467 MB / 0.6545 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/0.3906, allocations: 1.084 MB / 0.6555 GB, free: 280 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.3907, allocations: 305.1 kB / 0.6558 GB, free: 15.97 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.3929, allocations: 1.705 MB / 0.6575 GB, free: 14.26 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004/0.3969, allocations: 5.139 MB / 0.6625 GB, free: 7.391 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006566/0.4035, allocations: 7.436 MB / 0.6698 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-05/0.4036, allocations: 32 kB / 0.6698 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008567/0.4121, allocations: 6.735 MB / 0.6764 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/0.4122, allocations: 59.98 kB / 0.6764 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/0.4123, allocations: 131.9 kB / 0.6766 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000524/0.4129, allocations: 317 kB / 0.6769 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/0.416, allocations: 1.248 MB / 0.6781 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.4182, allocations: 2.494 MB / 0.6805 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.4208, allocations: 291.6 kB / 0.6808 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003453/0.4212, allocations: 340 kB / 0.6811 GB, free: 2.477 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * Array equations: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001929/0.4231, allocations: 1.787 MB / 0.6829 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/0.4235, allocations: 321.8 kB / 0.6832 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/0.4274, allocations: 2.382 MB / 0.6855 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.4274, allocations: 3.984 kB / 0.6855 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4274, allocations: 0 / 0.6855 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.4278, allocations: 382.8 kB / 0.6859 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.4281, allocations: 16 kB / 0.6859 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009373/0.4291, allocations: 75.89 kB / 0.6859 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.4292, allocations: 80.53 kB / 0.686 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004228/0.4335, allocations: 2.833 MB / 0.6888 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003739/0.4372, allocations: 3.689 MB / 0.6924 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009913/0.4382, allocations: 0.8913 MB / 0.6933 GB, free: 5.949 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002643/0.4409, allocations: 2.315 MB / 0.6955 GB, free: 3.648 MB / 0.545 GB Notification: Performance of Backend: time 3.4e-07/0.4409, allocations: 0 / 0.6955 GB, free: 3.648 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005148/0.446, allocations: 3.505 MB / 0.6989 GB, free: 156 kB / 0.545 GB Notification: Performance of SimCode: time 0.009393/0.4554, allocations: 7.776 MB / 0.7065 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of Templates: time 0.6745/1.13, allocations: 36.51 MB / 0.7422 GB, free: 175.6 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches