Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.002316/0.002316, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002627/0.002627, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.611/1.611, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.347/0.347, allocations: 32.79 MB / 293.9 MB, free: 1.215 MB / 266.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.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.802e-05, allocations: 9.203 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01418/0.01421, allocations: 9.977 MB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008527/0.02274, allocations: 3.783 MB / 389 MB, free: 7.152 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.02424, allocations: 71.62 kB / 389.1 MB, free: 7.082 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005158/0.02939, allocations: 2.219 MB / 391.3 MB, free: 4.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004957/0.03435, allocations: 1.773 MB / 393.1 MB, free: 3.074 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.03619, allocations: 0.7678 MB / 393.9 MB, free: 2.305 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006738/0.04293, allocations: 4.394 MB / 398.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003742/0.04667, allocations: 2.503 MB / 400.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.05011, allocations: 1.976 MB / 402.7 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003653/0.05376, allocations: 2.03 MB / 404.8 MB, free: 7.328 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006791/0.05444, allocations: 272 kB / 405 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.05678, allocations: 1.131 MB / 406.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002129/0.05891, allocations: 1.784 MB / 407.9 MB, free: 4.141 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.0607, allocations: 1.075 MB / 409 MB, free: 3.062 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009011/0.06971, allocations: 6.273 MB / 415.3 MB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.06972, allocations: 0 / 415.3 MB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.06972, allocations: 0 / 415.3 MB, free: 12.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001669/0.06989, allocations: 0 / 415.3 MB, free: 12.77 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01101/0.0809, allocations: 4.965 MB / 420.3 MB, free: 7.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.08093, allocations: 12.03 kB / 420.3 MB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01867/0.0996, allocations: 2.916 MB / 423.2 MB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006737/0.1063, allocations: 2.223 MB / 425.4 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.1065, allocations: 193.3 kB / 425.6 MB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007834/0.1073, allocations: 280.5 kB / 425.9 MB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.1195, allocations: 5.698 MB / 431.6 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.1196, allocations: 39.67 kB / 431.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000354/0.12, allocations: 131.9 kB / 431.7 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003481/0.1235, allocations: 1.731 MB / 433.5 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.1337, allocations: 3.145 MB / 436.6 MB, free: 6.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1717/0.3054, allocations: 40.61 MB / 477.2 MB, free: 64.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007124/0.3125, allocations: 1.964 MB / 479.2 MB, free: 64.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.3137, allocations: 0.6319 MB / 479.8 MB, free: 64.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.3237, allocations: 4.746 MB / 484.6 MB, free: 61.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.3238, allocations: 56.36 kB / 484.6 MB, free: 61.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 4.067e-06/0.3238, allocations: 1.312 kB / 484.6 MB, free: 61.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.05015/0.3739, allocations: 14.26 MB / 498.9 MB, free: 57.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.374, allocations: 206.2 kB / 499.1 MB, free: 57.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005428/0.3794, allocations: 4.096 MB / 0.4914 GB, free: 55.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002963/0.3797, allocations: 51.77 kB / 0.4914 GB, free: 55.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.3814, allocations: 3.257 MB / 0.4946 GB, free: 52.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000766/0.3822, allocations: 0.8156 MB / 0.4954 GB, free: 52.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001758/0.384, allocations: 1.509 MB / 0.4969 GB, free: 51.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.998e-05/0.384, allocations: 479.3 kB / 0.4973 GB, free: 51.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.3857, allocations: 0.8225 MB / 0.4982 GB, free: 50.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00349/0.3892, allocations: 6.342 MB / 0.5043 GB, free: 43.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006005/0.3952, allocations: 7.866 MB / 0.512 GB, free: 35.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/0.3953, allocations: 41.44 kB / 0.5121 GB, free: 35.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01591/0.4112, allocations: 6.404 MB / 0.5183 GB, free: 31.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.394e-05/0.4113, allocations: 56.75 kB / 0.5184 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/0.4115, allocations: 128 kB / 0.5185 GB, free: 31.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007318/0.4188, allocations: 1.503 MB / 0.52 GB, free: 30.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004533/0.4234, allocations: 1.325 MB / 0.5213 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.4335, allocations: 5.424 MB / 0.5266 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004845/0.4383, allocations: 347.9 kB / 0.5269 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007876/0.4391, allocations: 360.8 kB / 0.5272 GB, free: 23.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (714): * Single equations (assignments): 710 * 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 {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001745/0.4408, allocations: 0.7259 MB / 0.5279 GB, free: 23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007237/0.4416, allocations: 369.8 kB / 0.5283 GB, free: 22.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007495/0.4491, allocations: 2.482 MB / 0.5307 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/0.4491, allocations: 23.83 kB / 0.5307 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.4491, allocations: 11.94 kB / 0.5307 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.4491, allocations: 11.08 kB / 0.5308 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.4639, allocations: 6.526 MB / 0.5371 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.4639, allocations: 0 / 0.5371 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.4652, allocations: 255.6 kB / 0.5374 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00611/0.4713, allocations: 1.294 MB / 0.5386 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002402/0.4715, allocations: 32 kB / 0.5387 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008411/0.4799, allocations: 4.885 MB / 0.5434 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4799, allocations: 0 / 0.5434 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008926/0.4888, allocations: 3.697 MB / 0.5471 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.4899, allocations: 301.8 kB / 0.5473 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004695/0.4904, allocations: 31.98 kB / 0.5474 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/0.492, allocations: 123.8 kB / 0.5475 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003438/0.4923, allocations: 117 kB / 0.5476 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.4924, allocations: 51.98 kB / 0.5476 GB, free: 4.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002355/0.4948, allocations: 1.674 MB / 0.5493 GB, free: 2.355 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4948, allocations: 0 / 0.5493 GB, free: 2.355 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004916/0.4997, allocations: 1.054 MB / 0.5503 GB, free: 1.305 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004401/0.5001, allocations: 167 kB / 0.5505 GB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007612/0.5078, allocations: 3.652 MB / 0.554 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.5078, allocations: 0 / 0.554 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.5103, allocations: 1.087 MB / 0.5551 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.5129, allocations: 350.4 kB / 0.5554 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.5281, allocations: 6.894 MB / 0.5622 GB, free: 5.094 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003852/0.5319, allocations: 2.19 MB / 0.5643 GB, free: 2.871 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004263/0.5362, allocations: 1.543 MB / 0.5658 GB, free: 1.324 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007142/0.5369, allocations: 212.5 kB / 0.566 GB, free: 1.117 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5369, allocations: 0 / 0.566 GB, free: 1.117 MB / 426.7 MB Notification: Performance of Templates: time 0.2234/0.7603, allocations: 35 MB / 0.6002 GB, free: 126.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.167852370068431]