Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 106.2 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2206/0.2206, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.3 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09978, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01498/0.1148, allocations: 16.94 MB / 458.9 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.1261, allocations: 5.292 MB / 464.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.1297, allocations: 111.7 kB / 464.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0093/0.139, allocations: 5.066 MB / 469.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007062/0.1462, allocations: 2.77 MB / 472.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.1494, allocations: 1.248 MB / 473.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01287/0.1622, allocations: 7.729 MB / 481.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008755/0.171, allocations: 6.167 MB / 487.3 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005852/0.1769, allocations: 2.691 MB / 490 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006597/0.1836, allocations: 3.75 MB / 493.7 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001963/0.1856, allocations: 0.5898 MB / 494.3 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.1896, allocations: 1.592 MB / 495.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004558/0.1941, allocations: 3.421 MB / 499.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009465/0.2037, allocations: 3.807 MB / 0.4913 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01711/0.2208, allocations: 11.91 MB / 0.503 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2208, allocations: 0 / 0.503 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2209, allocations: 0 / 0.503 GB, free: 12.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004185/0.2213, allocations: 0 / 0.503 GB, free: 12.73 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02796/0.2492, allocations: 8.059 MB / 0.5108 GB, free: 4.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/0.2493, allocations: 12.03 kB / 0.5109 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01641/0.2658, allocations: 3.166 MB / 0.5139 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/0.2806, allocations: 5.235 MB / 0.5191 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005176/0.2811, allocations: 390.4 kB / 0.5194 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003065/0.2842, allocations: 0.527 MB / 0.5199 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5417/0.8259, allocations: 15.76 MB / 0.5353 GB, free: 77.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002883/0.8263, allocations: 80.42 kB / 0.5354 GB, free: 77.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00091/0.8272, allocations: 248.6 kB / 0.5357 GB, free: 77.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005974/0.8332, allocations: 2.924 MB / 0.5385 GB, free: 77.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02912/0.8623, allocations: 13.17 MB / 0.5514 GB, free: 72.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07525/0.9376, allocations: 60.1 MB / 0.6101 GB, free: 16.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.9506, allocations: 6.093 MB / 0.616 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004072/0.9547, allocations: 3.377 MB / 0.6193 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.9549, allocations: 52.81 kB / 0.6194 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.955, allocations: 60.12 kB / 0.6194 GB, free: 6.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 7.184e-06/0.955, allocations: 0 / 0.6194 GB, free: 6.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=260): time 0.07365/1.029, allocations: 25.87 MB / 0.6447 GB, free: 12.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/1.029, allocations: 269.1 kB / 0.6449 GB, free: 12.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0174/1.046, allocations: 6.973 MB / 0.6517 GB, free: 5.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009729/1.047, allocations: 68.59 kB / 0.6518 GB, free: 5.523 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006687/1.054, allocations: 4.794 MB / 0.6565 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002745/1.057, allocations: 1.011 MB / 0.6575 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005951/1.063, allocations: 1.804 MB / 0.6592 GB, free: 13.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/1.063, allocations: 301.1 kB / 0.6595 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008043/1.071, allocations: 3.32 MB / 0.6628 GB, free: 10.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01142/1.083, allocations: 8.49 MB / 0.6711 GB, free: 15.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01961/1.102, allocations: 12.64 MB / 0.6834 GB, free: 28 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000327/1.103, allocations: 52.05 kB / 0.6835 GB, free: 15.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.03115/1.134, allocations: 13.09 MB / 0.6962 GB, free: 2.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004073/1.134, allocations: 84 kB / 0.6963 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004468/1.135, allocations: 184.1 kB / 0.6965 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005306/1.14, allocations: 1.777 MB / 0.6982 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008695/1.149, allocations: 2.113 MB / 0.7003 GB, free: 14.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/1.167, allocations: 12.44 MB / 0.7124 GB, free: 1.883 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009926/1.177, allocations: 495.2 kB / 0.7129 GB, free: 1.398 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002483/1.179, allocations: 0.5156 MB / 0.7134 GB, free: 0.8828 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1087): * Single equations (assignments): 1081 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009639/1.189, allocations: 3.212 MB / 0.7165 GB, free: 13.66 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002461/1.191, allocations: 0.5707 MB / 0.7171 GB, free: 13.08 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/1.206, allocations: 5.808 MB / 0.7228 GB, free: 7.242 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.1e-05/1.206, allocations: 28 kB / 0.7228 GB, free: 7.215 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.816e-05/1.206, allocations: 11.98 kB / 0.7228 GB, free: 7.203 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.885e-05/1.206, allocations: 12.02 kB / 0.7228 GB, free: 7.191 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3581/1.564, allocations: 12.89 MB / 0.7354 GB, free: 168.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.564, allocations: 1.469 kB / 0.7354 GB, free: 168.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002756/1.567, allocations: 0.5063 MB / 0.7359 GB, free: 168.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004536/1.571, allocations: 1.475 MB / 0.7373 GB, free: 168.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004806/1.572, allocations: 47.61 kB / 0.7374 GB, free: 168.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/1.586, allocations: 11.48 MB / 0.7486 GB, free: 162.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.586, allocations: 8.375 kB / 0.7486 GB, free: 162.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/1.601, allocations: 9.435 MB / 0.7578 GB, free: 158.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003823/1.605, allocations: 1.056 MB / 0.7589 GB, free: 158.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/1.606, allocations: 39.84 kB / 0.7589 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/1.609, allocations: 173.1 kB / 0.7591 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000514/1.61, allocations: 145.9 kB / 0.7592 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.61, allocations: 70.64 kB / 0.7593 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008363/1.619, allocations: 4.452 MB / 0.7636 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.52e-07/1.619, allocations: 0 / 0.7636 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009883/1.629, allocations: 1.627 MB / 0.7652 GB, free: 156.7 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008454/1.629, allocations: 188.8 kB / 0.7654 GB, free: 156.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.642, allocations: 8.11 MB / 0.7733 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/1.642, allocations: 7.625 kB / 0.7733 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00495/1.647, allocations: 2.734 MB / 0.776 GB, free: 151 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008145/1.655, allocations: 0.7847 MB / 0.7767 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02919/1.684, allocations: 15.1 MB / 0.7915 GB, free: 136.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006244/1.69, allocations: 4.894 MB / 0.7963 GB, free: 131.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005817/1.696, allocations: 2.749 MB / 0.799 GB, free: 128.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.698, allocations: 387.4 kB / 0.7993 GB, free: 128.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.052e-06/1.698, allocations: 4 kB / 0.7993 GB, free: 128.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.09747/1.795, allocations: 55.7 MB / 0.8537 GB, free: 72.65 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches