Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001799/0.001799, allocations: 84.55 kB / 20.68 MB, free: 1.027 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.002139/0.002139, allocations: 164.7 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.625/1.625, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2462/0.2462, allocations: 34.28 MB / 294.9 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.895e-05, allocations: 10.16 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2141/0.2141, allocations: 9.113 MB / 451.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007684/0.2218, allocations: 3.689 MB / 455.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.2237, allocations: 72.5 kB / 455.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004246/0.2279, allocations: 2.121 MB / 457.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.233, allocations: 1.774 MB / 459.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.2352, allocations: 0.7533 MB / 460.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007687/0.2429, allocations: 4.394 MB / 464.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004551/0.2474, allocations: 2.416 MB / 467 MB, free: 7.773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.2522, allocations: 1.983 MB / 469 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003818/0.256, allocations: 1.999 MB / 471 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.257, allocations: 271.1 kB / 471.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.2598, allocations: 1.13 MB / 472.4 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.2619, allocations: 1.778 MB / 474.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.2643, allocations: 1.07 MB / 475.2 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006818/0.2711, allocations: 6.254 MB / 481.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2711, allocations: 0 / 481.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2711, allocations: 4 kB / 481.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001563/0.2712, allocations: 0 / 481.5 MB, free: 15.25 MB / 382.1 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.009786/0.281, allocations: 4.253 MB / 485.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2811, allocations: 15.97 kB / 485.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01843/0.2995, allocations: 2.549 MB / 488.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006459/0.306, allocations: 2.35 MB / 490.7 MB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.3062, allocations: 197.3 kB / 490.9 MB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000987/0.3072, allocations: 268.6 kB / 491.1 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02364/0.3308, allocations: 8.678 MB / 499.8 MB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001869/0.331, allocations: 44.17 kB / 499.8 MB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006342/0.3316, allocations: 123.9 kB / 500 MB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004911/0.3365, allocations: 1.739 MB / 0.4899 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02335/0.3599, allocations: 7.264 MB / 0.497 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05528/0.4152, allocations: 31.77 MB / 0.5281 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.4253, allocations: 2.982 MB / 0.531 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/0.4279, allocations: 1.573 MB / 0.5325 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/0.4399, allocations: 6.264 MB / 0.5386 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/0.44, allocations: 52.44 kB / 0.5387 GB, free: 7.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 3.958e-06/0.44, allocations: 0 / 0.5387 GB, free: 7.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.09898/0.5389, allocations: 19.74 MB / 0.558 GB, free: 3.508 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000211/0.5391, allocations: 201.2 kB / 0.5582 GB, free: 3.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009786/0.5489, allocations: 3.644 MB / 0.5617 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004891/0.5494, allocations: 53.7 kB / 0.5618 GB, free: 15.56 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004076/0.5535, allocations: 2.911 MB / 0.5646 GB, free: 12.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001599/0.5551, allocations: 0.7365 MB / 0.5653 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003685/0.5588, allocations: 1.199 MB / 0.5665 GB, free: 10.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.559, allocations: 301.1 kB / 0.5668 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005912/0.5649, allocations: 2.147 MB / 0.5689 GB, free: 8.215 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/0.5754, allocations: 5.762 MB / 0.5745 GB, free: 0.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/0.5883, allocations: 8.474 MB / 0.5828 GB, free: 6.441 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/0.5885, allocations: 36 kB / 0.5828 GB, free: 6.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02152/0.61, allocations: 9.095 MB / 0.5917 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.6101, allocations: 60 kB / 0.5918 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001769/0.6103, allocations: 124 kB / 0.5919 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006445/0.6168, allocations: 1.739 MB / 0.5936 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004719/0.6215, allocations: 1.326 MB / 0.5949 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01724/0.6387, allocations: 9.498 MB / 0.6041 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004909/0.6436, allocations: 359.6 kB / 0.6045 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/0.6447, allocations: 352 kB / 0.6048 GB, free: 15.75 MB / 0.5137 GB 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.004207/0.6489, allocations: 1.897 MB / 0.6067 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009/0.6498, allocations: 317.8 kB / 0.607 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.6613, allocations: 4.04 MB / 0.6109 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.24e-05/0.6613, allocations: 20 kB / 0.6109 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/0.6613, allocations: 11.98 kB / 0.611 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/0.6613, allocations: 7.969 kB / 0.611 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02032/0.6817, allocations: 7.459 MB / 0.6182 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/0.6817, allocations: 0 / 0.6182 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.6832, allocations: 255.6 kB / 0.6185 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006241/0.6894, allocations: 1.51 MB / 0.62 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003286/0.6897, allocations: 36.45 kB / 0.62 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/0.706, allocations: 8.821 MB / 0.6286 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.706, allocations: 0 / 0.6286 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/0.7212, allocations: 6.567 MB / 0.635 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.7223, allocations: 309.8 kB / 0.6353 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007906/0.7231, allocations: 27.94 kB / 0.6353 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/0.7251, allocations: 127.8 kB / 0.6355 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004458/0.7255, allocations: 113.1 kB / 0.6356 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.211/0.9365, allocations: 48.83 kB / 0.6356 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003448/0.94, allocations: 2.11 MB / 0.6377 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.94, allocations: 0 / 0.6377 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005968/0.9459, allocations: 1.049 MB / 0.6387 GB, free: 168.1 MB / 0.5294 GB 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.0006014/0.9465, allocations: 181.7 kB / 0.6389 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008657/0.9552, allocations: 5.059 MB / 0.6438 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9552, allocations: 1.125 kB / 0.6438 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/0.9578, allocations: 1.603 MB / 0.6454 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.9602, allocations: 336.9 kB / 0.6457 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.9749, allocations: 8.559 MB / 0.6541 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/0.9782, allocations: 2.41 MB / 0.6564 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003908/0.9821, allocations: 1.788 MB / 0.6582 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.9826, allocations: 209.2 kB / 0.6584 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of SimCode: time 7.72e-07/0.9826, allocations: 0 / 0.6584 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.05809/1.041, allocations: 34.62 MB / 0.6922 GB, free: 137.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.4439308270812035]