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.001305/0.001305, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002132/0.003437, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00127/0.00127, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.002536, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.125/1.125, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.122/1.247, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.2951/0.2951, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02993/0.325, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 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 2.174e-06/2.174e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.432e-05, allocations: 3.438 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01527/0.01531, allocations: 9.843 MB / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.02758, allocations: 3.863 MB / 304.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003473/0.03105, allocations: 63.69 kB / 304.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.03531, allocations: 1.985 MB / 306.4 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.04102, allocations: 1.715 MB / 308.1 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.04321, allocations: 0.6197 MB / 308.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006534/0.04974, allocations: 3.676 MB / 312.4 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004344/0.05408, allocations: 2.248 MB / 314.6 MB, free: 128 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003953/0.05804, allocations: 2.026 MB / 316.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/0.06054, allocations: 1.742 MB / 318.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006033/0.06114, allocations: 256 kB / 318.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.06307, allocations: 0.9984 MB / 319.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.06442, allocations: 1.496 MB / 321.1 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.06575, allocations: 0.8607 MB / 322 MB, free: 8.738 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00471/0.07046, allocations: 3.545 MB / 325.5 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.901e-05/0.07047, allocations: 4 kB / 325.5 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.07048, allocations: 0 / 325.5 MB, free: 5.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001302/0.07061, allocations: 0 / 325.5 MB, free: 5.176 MB / 314.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.006427/0.07703, allocations: 4.545 MB / 330.1 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.07708, allocations: 8.031 kB / 330.1 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.07974, allocations: 0.9372 MB / 331 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.08204, allocations: 1.48 MB / 332.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.08215, allocations: 189.2 kB / 332.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003442/0.0825, allocations: 252.2 kB / 332.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005728/0.08823, allocations: 4.259 MB / 337.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.106e-05/0.08832, allocations: 47.62 kB / 337.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.08858, allocations: 127.9 kB / 337.4 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001495/0.09007, allocations: 1.477 MB / 338.9 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004275/0.09435, allocations: 2.097 MB / 341 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02837/0.1227, allocations: 27.41 MB / 368.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.1258, allocations: 1.274 MB / 369.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.1262, allocations: 276.6 kB / 369.9 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005355/0.1316, allocations: 2.969 MB / 372.9 MB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.1317, allocations: 58.92 kB / 372.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=103): time 7.734e-06/0.1317, allocations: 0 / 372.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=104): time 0.007293/0.139, allocations: 2.617 MB / 375.6 MB, free: 1.145 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/0.139, allocations: 141 kB / 375.7 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/0.1428, allocations: 2.906 MB / 378.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.1429, allocations: 41.7 kB / 378.6 MB, free: 14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.1445, allocations: 2.762 MB / 381.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004613/0.1449, allocations: 468.6 kB / 381.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009827/0.1459, allocations: 1.013 MB / 382.9 MB, free: 9.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.146, allocations: 301.1 kB / 383.2 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009739/0.147, allocations: 0.6113 MB / 383.8 MB, free: 8.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/0.1498, allocations: 4.041 MB / 387.8 MB, free: 2.977 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004715/0.1545, allocations: 5.112 MB / 392.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/0.1546, allocations: 36 kB / 393 MB, free: 12.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.006189/0.1608, allocations: 3.589 MB / 396.6 MB, free: 8.453 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-05/0.1609, allocations: 63.94 kB / 396.6 MB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/0.161, allocations: 128.9 kB / 396.7 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.1611, allocations: 164 kB / 396.9 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/0.164, allocations: 1.353 MB / 398.3 MB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002087/0.1642, allocations: 247 kB / 398.5 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.1673, allocations: 239.7 kB / 398.7 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003818/0.1677, allocations: 296 kB / 399 MB, free: 5.984 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (667): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001541/0.1692, allocations: 0.5641 MB / 399.6 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005493/0.1698, allocations: 171.7 kB / 399.7 MB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009724/0.1707, allocations: 0.5051 MB / 400.3 MB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/0.1708, allocations: 12 kB / 400.3 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.1708, allocations: 0 / 400.3 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.1708, allocations: 3.984 kB / 400.3 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.1757, allocations: 2.183 MB / 402.5 MB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.1757, allocations: 4.031 kB / 402.5 MB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.1761, allocations: 147.8 kB / 402.6 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000701/0.1768, allocations: 265.9 kB / 402.9 MB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.1771, allocations: 47.62 kB / 402.9 MB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.1772, allocations: 16 kB / 402.9 MB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.1788, allocations: 1.422 MB / 404.3 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.1788, allocations: 3.938 kB / 404.3 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.1809, allocations: 1.206 MB / 405.6 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005099/0.1814, allocations: 23.88 kB / 405.6 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.1825, allocations: 28.03 kB / 405.6 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.1826, allocations: 59.84 kB / 405.7 MB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.1826, allocations: 20 kB / 405.7 MB, free: 15.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00151/0.1841, allocations: 1.032 MB / 406.7 MB, free: 14.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1841, allocations: 0 / 406.7 MB, free: 14.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004609/0.1887, allocations: 0.7889 MB / 407.5 MB, free: 13.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005267/0.1893, allocations: 144.1 kB / 407.6 MB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0039/0.1932, allocations: 1.936 MB / 409.6 MB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002462/0.1934, allocations: 104.2 kB / 409.7 MB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006561/0.1941, allocations: 344.7 kB / 410 MB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.1967, allocations: 0.6761 MB / 410.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.2093, allocations: 5.881 MB / 416.6 MB, free: 4.066 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.2105, allocations: 0.9902 MB / 417.6 MB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001507/0.212, allocations: 427 kB / 418 MB, free: 2.637 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007636/0.2128, allocations: 473.2 kB / 418.4 MB, free: 2.176 MB / 410.7 MB Notification: Performance of SimCode: time 3.587e-06/0.2128, allocations: 0 / 418.4 MB, free: 2.176 MB / 410.7 MB Notification: Performance of Templates: time 0.2516/0.4643, allocations: 22.53 MB / 441 MB, free: 124.3 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.220535235479474]