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.000797/0.000797, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0008823/0.0008823, allocations: 158.6 kB / 24.91 MB, free: 8.719 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/1, allocations: 177 MB / 205.2 MB, free: 5.027 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.2548/0.2548, allocations: 34.86 MB / 296.6 MB, free: 388 kB / 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.603e-06/1.603e-06, allocations: 0 / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.693e-05, allocations: 6.312 kB / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.007776/0.007793, allocations: 9.797 MB / 335.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007344/0.01514, allocations: 3.915 MB / 339.6 MB, free: 9.348 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.01649, allocations: 71.62 kB / 339.7 MB, free: 9.277 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.01915, allocations: 2.219 MB / 341.9 MB, free: 7.051 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.02273, allocations: 1.796 MB / 343.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.02408, allocations: 0.7756 MB / 344.5 MB, free: 4.469 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0053/0.02938, allocations: 4.395 MB / 348.9 MB, free: 72 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003319/0.0327, allocations: 2.57 MB / 351.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004176/0.03688, allocations: 2.456 MB / 353.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.03959, allocations: 1.917 MB / 355.8 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005511/0.04014, allocations: 276 kB / 356.1 MB, free: 8.773 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.04197, allocations: 1.123 MB / 357.2 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.04344, allocations: 1.784 MB / 359 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.04477, allocations: 1.082 MB / 360.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00477/0.04954, allocations: 4.231 MB / 364.3 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.04955, allocations: 3.984 kB / 364.3 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.04955, allocations: 4 kB / 364.3 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.256e-05/0.04964, allocations: 3.938 kB / 364.3 MB, free: 0.5156 MB / 330.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.005642/0.05529, allocations: 3.959 MB / 368.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.05533, allocations: 8.031 kB / 368.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004154/0.05948, allocations: 1.101 MB / 369.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002671/0.06215, allocations: 1.681 MB / 371.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.06228, allocations: 193.3 kB / 371.3 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004663/0.06275, allocations: 268.5 kB / 371.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005755/0.0685, allocations: 4.358 MB / 375.9 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.593e-05/0.0686, allocations: 47.64 kB / 375.9 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002922/0.06889, allocations: 127.9 kB / 376.1 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001818/0.07071, allocations: 1.532 MB / 377.6 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005736/0.07644, allocations: 2.167 MB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02977/0.1062, allocations: 26.82 MB / 406.6 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.1092, allocations: 1.454 MB / 408 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.1096, allocations: 351.9 kB / 408.4 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004741/0.1144, allocations: 3.457 MB / 411.8 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.1144, allocations: 51.5 kB / 411.9 MB, free: 15.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=137): time 4.198e-06/0.1144, allocations: 4 kB / 411.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=169): time 0.01683/0.1312, allocations: 7.286 MB / 419.2 MB, free: 7.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.1313, allocations: 196.9 kB / 419.4 MB, free: 7.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.1339, allocations: 3.01 MB / 422.4 MB, free: 4.465 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.134, allocations: 49.64 kB / 422.4 MB, free: 4.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.1352, allocations: 2.802 MB / 425.2 MB, free: 1.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005988/0.1358, allocations: 0.6745 MB / 425.9 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.1369, allocations: 1.132 MB / 427 MB, free: 15.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.137, allocations: 301.1 kB / 427.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.1382, allocations: 0.766 MB / 428.1 MB, free: 14.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002801/0.141, allocations: 4.364 MB / 432.5 MB, free: 8.461 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/0.1453, allocations: 5.597 MB / 438.1 MB, free: 1.027 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.441e-05/0.1454, allocations: 40 kB / 438.1 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.006121/0.1515, allocations: 4.372 MB / 442.5 MB, free: 12.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/0.1516, allocations: 63.94 kB / 442.5 MB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.1517, allocations: 132 kB / 442.7 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/0.1534, allocations: 0.711 MB / 443.4 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/0.1556, allocations: 1.322 MB / 444.7 MB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/0.1591, allocations: 2.983 MB / 447.7 MB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.1618, allocations: 267.7 kB / 447.9 MB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/0.1621, allocations: 316 kB / 448.2 MB, free: 6.711 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * 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 (730): * Single equations (assignments): 726 * 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,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001363/0.1635, allocations: 0.6107 MB / 448.9 MB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/0.1639, allocations: 207.8 kB / 449.1 MB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.166, allocations: 1.204 MB / 450.3 MB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.166, allocations: 23.98 kB / 450.3 MB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.166, allocations: 4 kB / 450.3 MB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.166, allocations: 11.92 kB / 450.3 MB, free: 4.617 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005851/0.1719, allocations: 3.784 MB / 454.1 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.1719, allocations: 4 kB / 454.1 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.1724, allocations: 203.9 kB / 454.3 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1994/0.3718, allocations: 0.6893 MB / 455 MB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003195/0.3721, allocations: 28.34 kB / 455 MB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/0.375, allocations: 2.587 MB / 457.6 MB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.375, allocations: 0 / 457.6 MB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.3777, allocations: 1.993 MB / 459.6 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.3781, allocations: 275.7 kB / 459.9 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.3784, allocations: 28.72 kB / 459.9 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.3789, allocations: 36.81 kB / 459.9 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.3791, allocations: 104.7 kB / 460 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/0.3792, allocations: 43.59 kB / 460.1 MB, free: 118.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001488/0.3807, allocations: 1.073 MB / 461.1 MB, free: 118.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3807, allocations: 0 / 461.1 MB, free: 118.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004663/0.3853, allocations: 0.9557 MB / 462.1 MB, free: 118.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (122): * Single equations (assignments): 118 * 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,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003557/0.3857, allocations: 154.7 kB / 462.2 MB, free: 118 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003079/0.3888, allocations: 2.557 MB / 464.8 MB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001344/0.3889, allocations: 94.97 kB / 464.9 MB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.3894, allocations: 0.6014 MB / 465.5 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.3908, allocations: 0.5096 MB / 466 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/0.3972, allocations: 6.452 MB / 472.5 MB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007693/0.3979, allocations: 1.091 MB / 473.6 MB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009526/0.3989, allocations: 460.4 kB / 474 MB, free: 114 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/0.3995, allocations: 0.4922 MB / 474.5 MB, free: 113.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.3995, allocations: 0 / 474.5 MB, free: 113.5 MB / 426.7 MB Notification: Performance of Templates: time 0.0393/0.4388, allocations: 31.48 MB / 0.4941 GB, free: 84.38 MB / 426.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.094565857667476]