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.001853/0.001853, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001548/0.001548, allocations: 215.8 kB / 23.75 MB, free: 4.668 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.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.2322/0.2322, allocations: 46.93 MB / 360.8 MB, free: 4.262 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 0.002072/0.002072, allocations: 67.89 kB / 0.4966 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3477, allocations: 66.03 MB / 0.5611 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01318/0.3609, allocations: 10.43 MB / 0.5713 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009189/0.3701, allocations: 3.941 MB / 0.5752 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.3719, allocations: 71.62 kB / 0.5752 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004189/0.3761, allocations: 2.106 MB / 0.5773 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004543/0.3807, allocations: 1.712 MB / 0.579 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.3823, allocations: 0.6978 MB / 0.5796 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006073/0.3884, allocations: 4.013 MB / 0.5836 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/0.3914, allocations: 2.155 MB / 0.5857 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.3936, allocations: 1.327 MB / 0.587 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003196/0.3968, allocations: 2.005 MB / 0.5889 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006975/0.3974, allocations: 264 kB / 0.5892 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.3998, allocations: 1.225 MB / 0.5904 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.4016, allocations: 1.702 MB / 0.592 GB, free: 4.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002307/0.4039, allocations: 1.883 MB / 0.5939 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008249/0.4122, allocations: 6.178 MB / 0.5999 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4122, allocations: 4 kB / 0.5999 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4122, allocations: 0 / 0.5999 GB, free: 12.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001868/0.4124, allocations: 0 / 0.5999 GB, free: 12.54 MB / 446.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.009696/0.4221, allocations: 4.237 MB / 0.604 GB, free: 8.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4221, allocations: 12.03 kB / 0.6041 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/0.4375, allocations: 2.459 MB / 0.6065 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006515/0.444, allocations: 2.346 MB / 0.6087 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.4442, allocations: 193.3 kB / 0.6089 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007005/0.4449, allocations: 275.8 kB / 0.6092 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.4594, allocations: 8.595 MB / 0.6176 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.4595, allocations: 43.69 kB / 0.6176 GB, free: 9.629 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/0.4599, allocations: 127.9 kB / 0.6177 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002931/0.4628, allocations: 1.735 MB / 0.6194 GB, free: 7.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.4772, allocations: 7.295 MB / 0.6266 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04777/0.525, allocations: 33.98 MB / 0.6597 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009188/0.5342, allocations: 2.904 MB / 0.6626 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0026/0.5368, allocations: 1.584 MB / 0.6641 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/0.5502, allocations: 6.511 MB / 0.6705 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/0.5503, allocations: 47.5 kB / 0.6705 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.97e-06/0.5503, allocations: 0 / 0.6705 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06833/0.6186, allocations: 19.49 MB / 0.6896 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002115/0.6188, allocations: 205.2 kB / 0.6898 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007675/0.6265, allocations: 3.739 MB / 0.6934 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003661/0.6269, allocations: 53.7 kB / 0.6935 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002757/0.6296, allocations: 2.917 MB / 0.6963 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/0.6309, allocations: 0.752 MB / 0.697 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003384/0.6343, allocations: 1.207 MB / 0.6982 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6344, allocations: 305.1 kB / 0.6985 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003873/0.6383, allocations: 2.21 MB / 0.7007 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007418/0.6457, allocations: 5.778 MB / 0.7063 GB, free: 11.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/0.6576, allocations: 8.604 MB / 0.7147 GB, free: 1.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.6577, allocations: 40 kB / 0.7148 GB, free: 1.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02054/0.6783, allocations: 9.179 MB / 0.7237 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.6784, allocations: 60 kB / 0.7238 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002086/0.6786, allocations: 124 kB / 0.7239 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006074/0.6847, allocations: 1.657 MB / 0.7255 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004831/0.6895, allocations: 1.329 MB / 0.7268 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3048/0.9943, allocations: 9.831 MB / 0.7364 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004992/0.9993, allocations: 311.4 kB / 0.7367 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008966/1, allocations: 358.7 kB / 0.7371 GB, free: 148.4 MB / 0.5606 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.003032/1.003, allocations: 1.897 MB / 0.7389 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006407/1.004, allocations: 346.3 kB / 0.7392 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008647/1.013, allocations: 4.121 MB / 0.7433 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.921e-05/1.013, allocations: 19.59 kB / 0.7433 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/1.013, allocations: 7.875 kB / 0.7433 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/1.013, allocations: 11.31 kB / 0.7433 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/1.028, allocations: 8.458 MB / 0.7516 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.028, allocations: 1.125 kB / 0.7516 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.029, allocations: 257.1 kB / 0.7518 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00444/1.033, allocations: 1.433 MB / 0.7532 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/1.034, allocations: 35.34 kB / 0.7532 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/1.044, allocations: 9.106 MB / 0.7621 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.044, allocations: 3.938 kB / 0.7621 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009998/1.054, allocations: 6.757 MB / 0.7687 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009838/1.055, allocations: 319.4 kB / 0.769 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/1.056, allocations: 24 kB / 0.7691 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.057, allocations: 99.62 kB / 0.7692 GB, free: 128 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/1.057, allocations: 112 kB / 0.7693 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.057, allocations: 52 kB / 0.7693 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002617/1.06, allocations: 2.319 MB / 0.7716 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.06, allocations: 3.938 kB / 0.7716 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004204/1.064, allocations: 0.9819 MB / 0.7725 GB, free: 124.6 MB / 0.5606 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.0003578/1.065, allocations: 155.5 kB / 0.7727 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007547/1.072, allocations: 5.21 MB / 0.7778 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/1.072, allocations: 6.375 kB / 0.7778 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003121/1.075, allocations: 1.666 MB / 0.7794 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/1.079, allocations: 403.3 kB / 0.7798 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/1.097, allocations: 8.729 MB / 0.7883 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003584/1.1, allocations: 2.961 MB / 0.7912 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005336/1.106, allocations: 1.807 MB / 0.793 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008362/1.107, allocations: 223.4 kB / 0.7932 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.593e-06/1.107, allocations: 2.734 kB / 0.7932 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.06765/1.174, allocations: 40.51 MB / 0.8328 GB, free: 63.22 MB / 0.5606 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.744531680829823]