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.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.001503/0.001503, allocations: 84.31 kB / 20.68 MB, free: 1.023 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.00166/0.00166, allocations: 164 kB / 23.95 MB, free: 4.156 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.438/1.438, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2015/0.2015, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.354e-05, allocations: 2.281 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1919/0.1919, allocations: 9.013 MB / 449.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007681/0.1996, allocations: 3.617 MB / 452.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.2009, allocations: 67.31 kB / 452.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003864/0.2047, allocations: 1.996 MB / 454.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.2089, allocations: 1.732 MB / 456.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.2104, allocations: 0.6531 MB / 457.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004745/0.2151, allocations: 3.757 MB / 460.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003146/0.2182, allocations: 2.383 MB / 463.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.2212, allocations: 1.898 MB / 465.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.2236, allocations: 1.816 MB / 467 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000502/0.2241, allocations: 259.2 kB / 467.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.2258, allocations: 0.9693 MB / 468.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.227, allocations: 1.668 MB / 469.9 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.2282, allocations: 1.029 MB / 471 MB, free: 7.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005437/0.2337, allocations: 5.816 MB / 476.8 MB, free: 3.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2337, allocations: 1.188 kB / 476.8 MB, free: 3.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2337, allocations: 4 kB / 476.8 MB, free: 3.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001168/0.2338, allocations: 0 / 476.8 MB, free: 3.609 MB / 366.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.007091/0.2409, allocations: 4.048 MB / 480.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.2409, allocations: 13.84 kB / 480.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006232/0.2472, allocations: 1.836 MB / 482.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.2512, allocations: 1.86 MB / 484.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.2514, allocations: 189.2 kB / 484.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005807/0.2519, allocations: 252.2 kB / 485 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01517/0.2671, allocations: 8.509 MB / 493.5 MB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.765e-05/0.2672, allocations: 43.69 kB / 493.5 MB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003654/0.2676, allocations: 127.8 kB / 493.6 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003018/0.2706, allocations: 1.699 MB / 495.3 MB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.2845, allocations: 7.082 MB / 0.4906 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04235/0.3269, allocations: 32.21 MB / 0.5221 GB, free: 9.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007979/0.3349, allocations: 2.834 MB / 0.5249 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.337, allocations: 1.353 MB / 0.5262 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006583/0.3436, allocations: 3.47 MB / 0.5296 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.3437, allocations: 47.16 kB / 0.5296 GB, free: 1.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.436e-06/0.3437, allocations: 3.938 kB / 0.5296 GB, free: 1.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.0308/0.3745, allocations: 11.89 MB / 0.5412 GB, free: 5.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.3746, allocations: 170.8 kB / 0.5414 GB, free: 5.738 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004881/0.3795, allocations: 3.513 MB / 0.5448 GB, free: 2.211 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002138/0.3797, allocations: 45.7 kB / 0.5449 GB, free: 2.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.3819, allocations: 2.848 MB / 0.5477 GB, free: 15.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006522/0.3826, allocations: 0.539 MB / 0.5482 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/0.3841, allocations: 1.072 MB / 0.5492 GB, free: 13.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3842, allocations: 301.1 kB / 0.5495 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/0.3871, allocations: 1.705 MB / 0.5512 GB, free: 11.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005975/0.3931, allocations: 5.16 MB / 0.5562 GB, free: 4.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009879/0.4029, allocations: 7.426 MB / 0.5635 GB, free: 11.62 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.886e-05/0.403, allocations: 36 kB / 0.5635 GB, free: 11.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01271/0.4157, allocations: 6.709 MB / 0.5701 GB, free: 4.871 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.704e-05/0.4158, allocations: 62.09 kB / 0.5701 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/0.416, allocations: 124 kB / 0.5702 GB, free: 4.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006818/0.4167, allocations: 316.7 kB / 0.5705 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004449/0.4211, allocations: 1.251 MB / 0.5718 GB, free: 3.125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.4242, allocations: 2.366 MB / 0.5741 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/0.4288, allocations: 323.5 kB / 0.5744 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008305/0.4297, allocations: 332 kB / 0.5747 GB, free: 16 kB / 478.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.004024/0.4337, allocations: 1.795 MB / 0.5764 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008187/0.4345, allocations: 290.1 kB / 0.5767 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005286/0.4398, allocations: 2.32 MB / 0.579 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/0.4398, allocations: 16 kB / 0.579 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.4398, allocations: 11.92 kB / 0.579 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.4399, allocations: 3.984 kB / 0.579 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.4519, allocations: 5.16 MB / 0.5841 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.4519, allocations: 0 / 0.5841 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009015/0.4528, allocations: 179.7 kB / 0.5842 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/0.4552, allocations: 0.7114 MB / 0.5849 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.4553, allocations: 27.98 kB / 0.585 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0068/0.4621, allocations: 4.687 MB / 0.5895 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4621, allocations: 4 kB / 0.5895 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007426/0.4696, allocations: 4.305 MB / 0.5937 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008013/0.4704, allocations: 290 kB / 0.594 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/0.4707, allocations: 19.94 kB / 0.594 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.472, allocations: 100.3 kB / 0.5941 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/0.4722, allocations: 72.58 kB / 0.5942 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.4723, allocations: 40 kB / 0.5942 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003442/0.4757, allocations: 2.026 MB / 0.5962 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4757, allocations: 0 / 0.5962 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004706/0.4805, allocations: 0.8788 MB / 0.5971 GB, free: 8.875 MB / 0.4981 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.000488/0.4809, allocations: 166.9 kB / 0.5972 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006597/0.4875, allocations: 3.901 MB / 0.601 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4875, allocations: 0 / 0.601 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.4891, allocations: 1.033 MB / 0.6021 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.4914, allocations: 343.5 kB / 0.6024 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.5049, allocations: 7.329 MB / 0.6095 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003144/0.508, allocations: 2.229 MB / 0.6117 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003588/0.5116, allocations: 1.607 MB / 0.6133 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006492/0.5122, allocations: 204.5 kB / 0.6135 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/0.5122, allocations: 0 / 0.6135 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of Templates: time 0.2365/0.7487, allocations: 25.65 MB / 0.6385 GB, free: 172.9 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.1946470104157925]