Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007738/0.0007738, allocations: 94.28 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3481/0.3481, allocations: 43.55 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003599, allocations: 12 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2351/0.3533, allocations: 31.43 MB / 0.5094 GB, free: 28.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02118/0.3746, allocations: 7.437 MB / 0.5167 GB, free: 23.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009433/0.384, allocations: 147.2 kB / 0.5168 GB, free: 23.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005623/0.3897, allocations: 1.575 MB / 0.5184 GB, free: 22.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0146/0.4043, allocations: 4.845 MB / 0.5231 GB, free: 20.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.4074, allocations: 0.5096 MB / 0.5236 GB, free: 20.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004937/0.4123, allocations: 3.789 MB / 0.5273 GB, free: 19.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004423/0.4168, allocations: 2.966 MB / 0.5302 GB, free: 17.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.4191, allocations: 1.052 MB / 0.5312 GB, free: 17.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002562/0.4217, allocations: 1.597 MB / 0.5328 GB, free: 17.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008514/0.4226, allocations: 115.4 kB / 0.5329 GB, free: 17.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.4249, allocations: 0.7904 MB / 0.5337 GB, free: 16.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002246/0.4272, allocations: 1.393 MB / 0.535 GB, free: 16.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.4288, allocations: 0.6995 MB / 0.5357 GB, free: 16.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007839/0.4367, allocations: 4.427 MB / 0.54 GB, free: 15.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.4367, allocations: 0 / 0.54 GB, free: 15.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.4367, allocations: 5.031 kB / 0.5401 GB, free: 15.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003103/0.4371, allocations: 0 / 0.5401 GB, free: 15.15 MB / 378.7 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.01024/0.4473, allocations: 3.361 MB / 0.5433 GB, free: 12.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4474, allocations: 9.25 kB / 0.5433 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007187/0.4546, allocations: 1.827 MB / 0.5451 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005789/0.4604, allocations: 1.921 MB / 0.547 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.4607, allocations: 192.9 kB / 0.5472 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/0.4622, allocations: 265.3 kB / 0.5474 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.479, allocations: 8.423 MB / 0.5557 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.4792, allocations: 36.5 kB / 0.5557 GB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008047/0.4801, allocations: 130.5 kB / 0.5558 GB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002849/0.4829, allocations: 1.699 MB / 0.5575 GB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/0.4962, allocations: 7.071 MB / 0.5644 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04196/0.5382, allocations: 34.14 MB / 0.5977 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007555/0.5458, allocations: 3.271 MB / 0.6009 GB, free: 7.316 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/0.5478, allocations: 1.463 MB / 0.6024 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006272/0.554, allocations: 4.361 MB / 0.6066 GB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.5541, allocations: 47.06 kB / 0.6067 GB, free: 1.219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 3.566e-06/0.5541, allocations: 0 / 0.6067 GB, free: 1.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.02716/0.5813, allocations: 11.5 MB / 0.6179 GB, free: 5.566 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.5814, allocations: 170.8 kB / 0.6181 GB, free: 5.363 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005091/0.5865, allocations: 3.718 MB / 0.6217 GB, free: 1.652 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.5866, allocations: 45.7 kB / 0.6217 GB, free: 1.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00193/0.5886, allocations: 2.752 MB / 0.6244 GB, free: 14.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004819/0.589, allocations: 0.521 MB / 0.6249 GB, free: 14.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.5893, allocations: 104 kB / 0.625 GB, free: 14.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003338/0.5896, allocations: 0.5295 MB / 0.6255 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/0.5921, allocations: 1.681 MB / 0.6272 GB, free: 11.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004588/0.5967, allocations: 5.108 MB / 0.6322 GB, free: 5.117 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/0.6006, allocations: 2.886 MB / 0.635 GB, free: 2.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-05/0.6007, allocations: 39.78 kB / 0.635 GB, free: 2.195 MB / 458.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009897/0.6106, allocations: 6.672 MB / 0.6415 GB, free: 11.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.6107, allocations: 58.84 kB / 0.6416 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/0.6108, allocations: 128 kB / 0.6417 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006448/0.6115, allocations: 336.7 kB / 0.642 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/0.615, allocations: 1.244 MB / 0.6433 GB, free: 9.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.6174, allocations: 2.288 MB / 0.6455 GB, free: 7.328 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/0.6204, allocations: 287.5 kB / 0.6458 GB, free: 7.047 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004092/0.6209, allocations: 336.1 kB / 0.6461 GB, free: 6.719 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002632/0.6235, allocations: 1.798 MB / 0.6478 GB, free: 4.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005215/0.624, allocations: 311.9 kB / 0.6481 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.6284, allocations: 2.355 MB / 0.6504 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.6285, allocations: 16 kB / 0.6505 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6285, allocations: 8 kB / 0.6505 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.6285, allocations: 7.969 kB / 0.6505 GB, free: 2.203 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.6391, allocations: 5.919 MB / 0.6562 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.6391, allocations: 0 / 0.6562 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007894/0.6399, allocations: 179.8 kB / 0.6564 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/0.642, allocations: 0.7069 MB / 0.6571 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.356e-05/0.6421, allocations: 23.98 kB / 0.6571 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005596/0.6477, allocations: 4.468 MB / 0.6615 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6477, allocations: 0 / 0.6615 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006577/0.6543, allocations: 4.321 MB / 0.6657 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.6556, allocations: 0.5399 MB / 0.6662 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005606/0.6561, allocations: 19.98 kB / 0.6663 GB, free: 1.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.6575, allocations: 75.91 kB / 0.6663 GB, free: 1.688 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.6576, allocations: 72.45 kB / 0.6664 GB, free: 1.617 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.038e-05/0.6577, allocations: 32 kB / 0.6664 GB, free: 1.586 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003973/0.6617, allocations: 2.319 MB / 0.6687 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6617, allocations: 0 / 0.6687 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004161/0.6659, allocations: 0.8164 MB / 0.6695 GB, free: 14.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003721/0.6663, allocations: 147 kB / 0.6696 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006083/0.6724, allocations: 4.009 MB / 0.6736 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.6724, allocations: 0 / 0.6736 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.6739, allocations: 1.119 MB / 0.6746 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.6762, allocations: 363.4 kB / 0.675 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2059/0.882, allocations: 9.024 MB / 0.6838 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005223/0.8873, allocations: 2.79 MB / 0.6865 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009648/0.8883, allocations: 248 kB / 0.6868 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.8883, allocations: 0 / 0.6868 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.07277/0.9611, allocations: 63.53 MB / 0.7488 GB, free: 122.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches