Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 83.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 159.3 kB / 24.99 MB, free: 8.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.037/1.037, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2679/0.2679, allocations: 34.87 MB / 296.6 MB, free: 0.582 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 378.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.8e-05, allocations: 3.859 kB / 378.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.02936/0.02939, allocations: 10.01 MB / 388.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008414/0.0378, allocations: 3.79 MB / 392.6 MB, free: 4.562 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009438/0.03875, allocations: 75.62 kB / 392.6 MB, free: 4.488 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.04144, allocations: 2.211 MB / 394.8 MB, free: 2.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.04429, allocations: 1.781 MB / 396.6 MB, free: 492 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.04555, allocations: 0.7599 MB / 397.4 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003703/0.04925, allocations: 4.404 MB / 401.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.05128, allocations: 2.499 MB / 404.3 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.0529, allocations: 1.976 MB / 406.3 MB, free: 6.773 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.05457, allocations: 2.026 MB / 408.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.05487, allocations: 268 kB / 408.5 MB, free: 4.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.05608, allocations: 1.139 MB / 409.7 MB, free: 3.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.0571, allocations: 1.784 MB / 411.5 MB, free: 1.551 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009152/0.05802, allocations: 1.079 MB / 412.5 MB, free: 480 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.06133, allocations: 4.235 MB / 416.8 MB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.06133, allocations: 0 / 416.8 MB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.06134, allocations: 0 / 416.8 MB, free: 12.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.498e-05/0.06138, allocations: 0 / 416.8 MB, free: 12.22 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.004695/0.06608, allocations: 4.606 MB / 421.4 MB, free: 7.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.06611, allocations: 8.031 kB / 421.4 MB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008045/0.07415, allocations: 2.916 MB / 424.3 MB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.07666, allocations: 2.176 MB / 426.5 MB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.07676, allocations: 201.2 kB / 426.7 MB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003568/0.07712, allocations: 272.5 kB / 427 MB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005709/0.08283, allocations: 5.32 MB / 432.3 MB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.045e-05/0.0829, allocations: 47.62 kB / 432.3 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.08312, allocations: 119.9 kB / 432.4 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001621/0.08475, allocations: 1.739 MB / 434.2 MB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004762/0.08951, allocations: 2.818 MB / 437 MB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1683/0.2578, allocations: 37.5 MB / 474.5 MB, free: 66.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004017/0.2618, allocations: 1.893 MB / 476.4 MB, free: 66.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.2625, allocations: 0.5934 MB / 477 MB, free: 66.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004555/0.2671, allocations: 4.651 MB / 481.6 MB, free: 63.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.2671, allocations: 58.91 kB / 481.7 MB, free: 63.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 4.048e-06/0.2671, allocations: 1.75 kB / 481.7 MB, free: 63.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.03167/0.2988, allocations: 13.9 MB / 495.6 MB, free: 59.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.2988, allocations: 202.9 kB / 495.8 MB, free: 59.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004314/0.3032, allocations: 3.305 MB / 499.1 MB, free: 58.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.3033, allocations: 55.08 kB / 499.1 MB, free: 58.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.3048, allocations: 3.079 MB / 0.4905 GB, free: 55.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006339/0.3054, allocations: 0.7616 MB / 0.4912 GB, free: 55.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/0.307, allocations: 1.295 MB / 0.4925 GB, free: 54.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.3071, allocations: 481 kB / 0.4929 GB, free: 54.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.3088, allocations: 0.7384 MB / 0.4936 GB, free: 54.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00357/0.3124, allocations: 6.061 MB / 0.4996 GB, free: 46.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01799/0.3304, allocations: 7.479 MB / 0.5069 GB, free: 38.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.608e-05/0.3304, allocations: 35.25 kB / 0.5069 GB, free: 38.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.0356/0.366, allocations: 6.196 MB / 0.5129 GB, free: 36.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/0.3661, allocations: 62.03 kB / 0.513 GB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/0.3662, allocations: 127.1 kB / 0.5131 GB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/0.3768, allocations: 1.464 MB / 0.5146 GB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.3793, allocations: 1.324 MB / 0.5159 GB, free: 35.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005841/0.3852, allocations: 4.943 MB / 0.5207 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/0.3885, allocations: 354.8 kB / 0.521 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003112/0.3888, allocations: 356.8 kB / 0.5214 GB, free: 29.95 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.001057/0.3899, allocations: 0.6461 MB / 0.522 GB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.3902, allocations: 365.9 kB / 0.5223 GB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/0.3941, allocations: 2.364 MB / 0.5246 GB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.3941, allocations: 23.91 kB / 0.5247 GB, free: 27.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.3941, allocations: 8 kB / 0.5247 GB, free: 27.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3941, allocations: 19.33 kB / 0.5247 GB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00757/0.4017, allocations: 5.632 MB / 0.5302 GB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4017, allocations: 0 / 0.5302 GB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.4023, allocations: 258.3 kB / 0.5304 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002846/0.4051, allocations: 1.239 MB / 0.5317 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.4052, allocations: 31.98 kB / 0.5317 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004644/0.4099, allocations: 4.448 MB / 0.536 GB, free: 16.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.4099, allocations: 7.938 kB / 0.536 GB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00476/0.4146, allocations: 3.43 MB / 0.5394 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/0.4151, allocations: 301.7 kB / 0.5397 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.4153, allocations: 31.25 kB / 0.5397 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007345/0.4161, allocations: 127.8 kB / 0.5398 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.4163, allocations: 117 kB / 0.5399 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.4164, allocations: 51.44 kB / 0.54 GB, free: 12.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001311/0.4177, allocations: 1.404 MB / 0.5414 GB, free: 11.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4177, allocations: 4.031 kB / 0.5414 GB, free: 11.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003423/0.4211, allocations: 1.055 MB / 0.5424 GB, free: 10.07 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.000327/0.4214, allocations: 174.2 kB / 0.5426 GB, free: 9.895 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003473/0.4249, allocations: 3.297 MB / 0.5458 GB, free: 6.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4249, allocations: 0 / 0.5458 GB, free: 6.594 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008584/0.4258, allocations: 0.998 MB / 0.5467 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.4268, allocations: 348.9 kB / 0.5471 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006771/0.4336, allocations: 6.784 MB / 0.5537 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.4346, allocations: 1.116 MB / 0.5548 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002128/0.4367, allocations: 1.541 MB / 0.5563 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.4371, allocations: 212.5 kB / 0.5565 GB, free: 11.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4371, allocations: 0 / 0.5565 GB, free: 11.52 MB / 426.7 MB Notification: Performance of Templates: time 0.0449/0.482, allocations: 35.03 MB / 0.5907 GB, free: 8.996 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.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.75876853405498]