Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 113.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 183.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2063/0.2063, allocations: 44.2 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3702, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0119/0.3822, allocations: 10.28 MB / 0.5289 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009015/0.3912, allocations: 3.778 MB / 0.5326 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.3945, allocations: 54.12 kB / 0.5327 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004372/0.3989, allocations: 1.954 MB / 0.5346 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00584/0.4048, allocations: 1.693 MB / 0.5362 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.4067, allocations: 0.6161 MB / 0.5368 GB, free: 6.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007421/0.4141, allocations: 3.333 MB / 0.5401 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00368/0.4178, allocations: 2.584 MB / 0.5426 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.4206, allocations: 1.243 MB / 0.5438 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.4228, allocations: 1.674 MB / 0.5455 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005156/0.4233, allocations: 256 kB / 0.5457 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.4252, allocations: 1.034 MB / 0.5467 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.4266, allocations: 1.57 MB / 0.5483 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.4283, allocations: 1.841 MB / 0.5501 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006301/0.4346, allocations: 5.825 MB / 0.5557 GB, free: 6.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4347, allocations: 4 kB / 0.5557 GB, free: 6.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4347, allocations: 0 / 0.5557 GB, free: 6.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001035/0.4348, allocations: 0 / 0.5557 GB, free: 6.199 MB / 414.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.006747/0.4415, allocations: 4.022 MB / 0.5597 GB, free: 2.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4416, allocations: 16.03 kB / 0.5597 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00624/0.4478, allocations: 1.762 MB / 0.5614 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004377/0.4522, allocations: 1.951 MB / 0.5633 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.4524, allocations: 197.2 kB / 0.5635 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005067/0.4529, allocations: 251.8 kB / 0.5637 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.4661, allocations: 8.439 MB / 0.572 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.4663, allocations: 39.75 kB / 0.572 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/0.4666, allocations: 123.8 kB / 0.5721 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002758/0.4694, allocations: 1.695 MB / 0.5738 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/0.4837, allocations: 7.102 MB / 0.5807 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04125/0.525, allocations: 34.01 MB / 0.6139 GB, free: 8.785 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007407/0.5325, allocations: 3.275 MB / 0.6171 GB, free: 5.355 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.5344, allocations: 1.468 MB / 0.6186 GB, free: 3.871 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006186/0.5406, allocations: 4.357 MB / 0.6228 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.5407, allocations: 59.05 kB / 0.6229 GB, free: 15.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 3.397e-06/0.5407, allocations: 0 / 0.6229 GB, free: 15.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03081/0.5715, allocations: 11.52 MB / 0.6341 GB, free: 3.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.5717, allocations: 170.8 kB / 0.6343 GB, free: 3.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005805/0.5775, allocations: 3.721 MB / 0.6379 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002569/0.5777, allocations: 45.7 kB / 0.638 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002078/0.5798, allocations: 2.744 MB / 0.6407 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007586/0.5806, allocations: 0.5209 MB / 0.6412 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/0.5825, allocations: 1.079 MB / 0.6422 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5826, allocations: 305.1 kB / 0.6425 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.5853, allocations: 1.713 MB / 0.6442 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004869/0.5902, allocations: 5.128 MB / 0.6492 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00833/0.5985, allocations: 7.418 MB / 0.6564 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.5986, allocations: 36 kB / 0.6565 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01201/0.6107, allocations: 6.71 MB / 0.663 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.6108, allocations: 63.94 kB / 0.6631 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001995/0.611, allocations: 120 kB / 0.6632 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007065/0.6117, allocations: 329.2 kB / 0.6635 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/0.6157, allocations: 1.244 MB / 0.6647 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.6189, allocations: 2.489 MB / 0.6672 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/0.6236, allocations: 299.5 kB / 0.6674 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/0.6249, allocations: 332 kB / 0.6678 GB, free: 13.44 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.004205/0.6291, allocations: 1.787 MB / 0.6695 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008277/0.6299, allocations: 312 kB / 0.6698 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005561/0.6355, allocations: 2.363 MB / 0.6721 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.467e-05/0.6356, allocations: 16 kB / 0.6721 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.6356, allocations: 4 kB / 0.6721 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.6357, allocations: 3.984 kB / 0.6721 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.6497, allocations: 5.906 MB / 0.6779 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/0.6497, allocations: 0 / 0.6779 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009191/0.6507, allocations: 179.6 kB / 0.6781 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/0.653, allocations: 0.7186 MB / 0.6788 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.6532, allocations: 24.59 kB / 0.6788 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006334/0.6595, allocations: 4.813 MB / 0.6835 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6596, allocations: 0 / 0.6835 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007019/0.6666, allocations: 4.336 MB / 0.6877 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008229/0.6674, allocations: 361 kB / 0.6881 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005337/0.668, allocations: 23.94 kB / 0.6881 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.6693, allocations: 71.95 kB / 0.6882 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.6695, allocations: 84.48 kB / 0.6883 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.215e-05/0.6696, allocations: 32 kB / 0.6883 GB, free: 8.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004002/0.6736, allocations: 2.323 MB / 0.6906 GB, free: 5.816 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6736, allocations: 0 / 0.6906 GB, free: 5.816 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004059/0.6777, allocations: 0.8164 MB / 0.6913 GB, free: 5 MB / 0.545 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 (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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003895/0.6781, allocations: 151.1 kB / 0.6915 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006627/0.6847, allocations: 4.049 MB / 0.6954 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.6847, allocations: 0 / 0.6954 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.6862, allocations: 1.107 MB / 0.6965 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.6889, allocations: 395.2 kB / 0.6969 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/0.7057, allocations: 7.248 MB / 0.704 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005606/0.7114, allocations: 2.785 MB / 0.7067 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004704/0.7161, allocations: 1.672 MB / 0.7083 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000895/0.717, allocations: 211.4 kB / 0.7085 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.717, allocations: 0 / 0.7085 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.3232/1.04, allocations: 27.95 MB / 0.7358 GB, free: 182.9 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches