Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001689/0.001689, allocations: 74.89 kB / 19.93 MB, free: 1.781 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.001746/0.001746, allocations: 165.5 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2123/0.2123, allocations: 32.37 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] 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 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 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_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.785e-05, allocations: 2.281 kB / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01299/0.01302, allocations: 9.077 MB / 416.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008887/0.0219, allocations: 3.604 MB / 420 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.02391, allocations: 67.69 kB / 420.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00478/0.02869, allocations: 1.997 MB / 422.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005461/0.03416, allocations: 1.776 MB / 423.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.03611, allocations: 0.6625 MB / 424.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005959/0.04207, allocations: 3.694 MB / 428.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003423/0.04549, allocations: 2.39 MB / 430.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.04852, allocations: 1.91 MB / 432.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/0.05185, allocations: 1.824 MB / 434.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000648/0.0525, allocations: 260 kB / 434.6 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.05458, allocations: 0.9866 MB / 435.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001841/0.05642, allocations: 1.687 MB / 437.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.05802, allocations: 1.047 MB / 438.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007441/0.06546, allocations: 5.875 MB / 444.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.06547, allocations: 0 / 444.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.06547, allocations: 0 / 444.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001245/0.06559, allocations: 0 / 444.2 MB, free: 13.97 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008638/0.07423, allocations: 4.065 MB / 448.3 MB, free: 9.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.07427, allocations: 12.03 kB / 448.3 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006963/0.08124, allocations: 1.839 MB / 450.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/0.08525, allocations: 1.915 MB / 452 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.08544, allocations: 193.2 kB / 452.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005574/0.08599, allocations: 256.2 kB / 452.5 MB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.1021, allocations: 8.49 MB / 461 MB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.1022, allocations: 39.64 kB / 461 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003888/0.1026, allocations: 123.9 kB / 461.1 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003268/0.1059, allocations: 1.695 MB / 462.8 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.1211, allocations: 7.075 MB / 469.9 MB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2619/0.383, allocations: 32.24 MB / 0.4904 GB, free: 41.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007482/0.3905, allocations: 2.821 MB / 0.4931 GB, free: 40.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/0.3925, allocations: 1.357 MB / 0.4945 GB, free: 40.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006471/0.399, allocations: 3.461 MB / 0.4978 GB, free: 38.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3991, allocations: 42.59 kB / 0.4979 GB, free: 38.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 4.117e-06/0.3991, allocations: 0 / 0.4979 GB, free: 38.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02749/0.4265, allocations: 11.89 MB / 0.5095 GB, free: 31.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.4266, allocations: 166.9 kB / 0.5096 GB, free: 31.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/0.4304, allocations: 3.574 MB / 0.5131 GB, free: 27.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.4306, allocations: 49.22 kB / 0.5132 GB, free: 27.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.4318, allocations: 2.849 MB / 0.516 GB, free: 24.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006164/0.4324, allocations: 0.5343 MB / 0.5165 GB, free: 24.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/0.434, allocations: 1.079 MB / 0.5175 GB, free: 23.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.4341, allocations: 309.1 kB / 0.5178 GB, free: 23.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/0.4371, allocations: 1.705 MB / 0.5195 GB, free: 21.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005069/0.4421, allocations: 5.156 MB / 0.5245 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009068/0.4512, allocations: 7.416 MB / 0.5318 GB, free: 5.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/0.4513, allocations: 32 kB / 0.5318 GB, free: 5.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01482/0.4661, allocations: 6.7 MB / 0.5384 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.4663, allocations: 56 kB / 0.5384 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002242/0.4665, allocations: 120 kB / 0.5385 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009998/0.4675, allocations: 323.5 kB / 0.5388 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006502/0.474, allocations: 1.248 MB / 0.54 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.4785, allocations: 2.351 MB / 0.5423 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006669/0.4852, allocations: 331.6 kB / 0.5427 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/0.4862, allocations: 339.5 kB / 0.543 GB, free: 9.703 MB / 414.1 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 (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.00441/0.4906, allocations: 1.791 MB / 0.5447 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/0.4918, allocations: 286.1 kB / 0.545 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007818/0.4996, allocations: 2.322 MB / 0.5473 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-05/0.4997, allocations: 12 kB / 0.5473 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.4997, allocations: 7.938 kB / 0.5473 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.934e-05/0.4997, allocations: 11.97 kB / 0.5473 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/0.5178, allocations: 5.18 MB / 0.5524 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/0.5178, allocations: 0 / 0.5524 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.5192, allocations: 176 kB / 0.5525 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003694/0.5229, allocations: 0.7186 MB / 0.5532 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/0.5231, allocations: 16 kB / 0.5532 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/0.5335, allocations: 4.704 MB / 0.5578 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-05/0.5335, allocations: 3.984 kB / 0.5578 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008101/0.5416, allocations: 4.29 MB / 0.562 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.5429, allocations: 461.8 kB / 0.5625 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/0.5432, allocations: 20 kB / 0.5625 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.5444, allocations: 104 kB / 0.5626 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.5447, allocations: 76.45 kB / 0.5627 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.754e-05/0.5447, allocations: 35.94 kB / 0.5627 GB, free: 5.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003362/0.5481, allocations: 2.073 MB / 0.5647 GB, free: 3.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5481, allocations: 0 / 0.5647 GB, free: 3.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00461/0.5527, allocations: 0.8981 MB / 0.5656 GB, free: 2.352 MB / 430.1 MB 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.0004804/0.5532, allocations: 178 kB / 0.5658 GB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00694/0.5601, allocations: 3.897 MB / 0.5696 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5601, allocations: 0 / 0.5696 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.5618, allocations: 1.033 MB / 0.5706 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.5641, allocations: 339.3 kB / 0.5709 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.5786, allocations: 7.327 MB / 0.5781 GB, free: 5.551 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003246/0.5818, allocations: 2.237 MB / 0.5802 GB, free: 3.289 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003968/0.5858, allocations: 1.619 MB / 0.5818 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007031/0.5865, allocations: 200.5 kB / 0.582 GB, free: 1.465 MB / 446.1 MB Notification: Performance of SimCode: time 1.313e-06/0.5865, allocations: 0 / 0.582 GB, free: 1.465 MB / 446.1 MB Notification: Performance of Templates: time 0.06182/0.6483, allocations: 26.06 MB / 0.6075 GB, free: 7.539 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.109396651387215]