Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2311/0.2311, allocations: 46.96 MB / 361.6 MB, free: 4.152 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2909, allocations: 66.03 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01164/0.3025, allocations: 9.026 MB / 0.5706 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008307/0.3108, allocations: 3.604 MB / 0.5742 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.312, allocations: 67.69 kB / 0.5742 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003696/0.3157, allocations: 1.904 MB / 0.5761 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003718/0.3194, allocations: 1.681 MB / 0.5777 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3206, allocations: 0.616 MB / 0.5783 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003938/0.3246, allocations: 3.368 MB / 0.5816 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.3269, allocations: 2.114 MB / 0.5837 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.3283, allocations: 1.257 MB / 0.5849 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/0.3306, allocations: 1.822 MB / 0.5867 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004607/0.331, allocations: 259.9 kB / 0.5869 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.3327, allocations: 0.9206 MB / 0.5878 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.3343, allocations: 1.605 MB / 0.5894 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.3357, allocations: 1.328 MB / 0.5907 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006427/0.3421, allocations: 5.827 MB / 0.5964 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3421, allocations: 0 / 0.5964 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3421, allocations: 0 / 0.5964 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001472/0.3422, allocations: 8 kB / 0.5964 GB, free: 0.6211 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.007546/0.3498, allocations: 4.026 MB / 0.6003 GB, free: 12.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3498, allocations: 12.02 kB / 0.6003 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006258/0.3561, allocations: 1.796 MB / 0.6021 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004488/0.3606, allocations: 1.865 MB / 0.6039 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.3607, allocations: 189.2 kB / 0.6041 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005281/0.3613, allocations: 263.7 kB / 0.6043 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.375, allocations: 8.505 MB / 0.6126 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.314e-05/0.3751, allocations: 39.64 kB / 0.6127 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/0.3754, allocations: 123.9 kB / 0.6128 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002853/0.3783, allocations: 1.691 MB / 0.6145 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.3912, allocations: 7.106 MB / 0.6214 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04004/0.4313, allocations: 32.05 MB / 0.6527 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007394/0.4387, allocations: 2.736 MB / 0.6554 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/0.4406, allocations: 1.364 MB / 0.6567 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006727/0.4473, allocations: 3.309 MB / 0.6599 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.4474, allocations: 51.16 kB / 0.66 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 3.296e-06/0.4474, allocations: 0 / 0.66 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.02907/0.4764, allocations: 11.53 MB / 0.6712 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4766, allocations: 170.8 kB / 0.6714 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004676/0.4812, allocations: 3.427 MB / 0.6747 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.4814, allocations: 41.7 kB / 0.6748 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002236/0.4837, allocations: 2.887 MB / 0.6776 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006155/0.4843, allocations: 0.5428 MB / 0.6781 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.4857, allocations: 1.088 MB / 0.6792 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4858, allocations: 309.1 kB / 0.6795 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/0.4885, allocations: 1.713 MB / 0.6812 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005426/0.4939, allocations: 5.153 MB / 0.6862 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008961/0.5029, allocations: 7.431 MB / 0.6935 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-05/0.5029, allocations: 36 kB / 0.6935 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.011/0.5139, allocations: 6.702 MB / 0.7 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.753e-05/0.514, allocations: 56 kB / 0.7001 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/0.5141, allocations: 124.2 kB / 0.7002 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006524/0.5148, allocations: 324.6 kB / 0.7005 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/0.5184, allocations: 1.252 MB / 0.7017 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.5213, allocations: 2.355 MB / 0.704 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/0.5244, allocations: 291.6 kB / 0.7043 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004428/0.5249, allocations: 336 kB / 0.7046 GB, free: 12.16 MB / 0.545 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.002675/0.5275, allocations: 1.787 MB / 0.7064 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/0.5281, allocations: 290 kB / 0.7067 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/0.5329, allocations: 2.324 MB / 0.7089 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/0.5329, allocations: 19.94 kB / 0.7089 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.5329, allocations: 4 kB / 0.7089 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.5329, allocations: 7.922 kB / 0.709 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.5437, allocations: 5.094 MB / 0.7139 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.5437, allocations: 3.984 kB / 0.7139 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008385/0.5445, allocations: 175.7 kB / 0.7141 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002319/0.5468, allocations: 0.7186 MB / 0.7148 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.5469, allocations: 20 kB / 0.7148 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00637/0.5533, allocations: 4.637 MB / 0.7193 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5533, allocations: 4 kB / 0.7194 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007067/0.5604, allocations: 4.316 MB / 0.7236 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/0.5611, allocations: 250 kB / 0.7238 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/0.5614, allocations: 24 kB / 0.7238 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009826/0.5623, allocations: 75.88 kB / 0.7239 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.5625, allocations: 72.41 kB / 0.724 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.5626, allocations: 39.98 kB / 0.724 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002893/0.5655, allocations: 1.967 MB / 0.7259 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5655, allocations: 0 / 0.7259 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003802/0.5693, allocations: 0.7929 MB / 0.7267 GB, free: 5.328 MB / 0.5606 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.0003464/0.5697, allocations: 146.9 kB / 0.7268 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006283/0.576, allocations: 3.909 MB / 0.7307 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.576, allocations: 128 / 0.7307 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.5776, allocations: 1.041 MB / 0.7317 GB, free: 232 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2404/0.8179, allocations: 333.5 kB / 0.732 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.8296, allocations: 7.378 MB / 0.7392 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/0.8317, allocations: 2.236 MB / 0.7414 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003062/0.8348, allocations: 1.613 MB / 0.743 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/0.8353, allocations: 191 kB / 0.7431 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.313e-06/0.8353, allocations: 0 / 0.7431 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04636/0.8817, allocations: 30.36 MB / 0.7728 GB, free: 125.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.556409265991533]