Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009925/0.0009925, allocations: 175.1 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007466/0.0007465, allocations: 98.34 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2896/0.2896, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003691, allocations: 16 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1189, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.2672/0.3861, allocations: 91.64 MB / 0.5688 GB, free: 1 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04626/0.4324, allocations: 18.44 MB / 0.5868 GB, free: 4.395 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02002/0.4525, allocations: 429.8 kB / 0.5872 GB, free: 4.332 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0168/0.4693, allocations: 4.842 MB / 0.592 GB, free: 2.383 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03806/0.5074, allocations: 14.06 MB / 0.6057 GB, free: 4.473 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007066/0.5145, allocations: 1.075 MB / 0.6067 GB, free: 3.398 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.06343/0.578, allocations: 51.27 MB / 0.6568 GB, free: 68 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01216/0.5902, allocations: 7.937 MB / 0.6646 GB, free: 8.043 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004783/0.595, allocations: 2.133 MB / 0.6666 GB, free: 5.902 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005524/0.6006, allocations: 3.447 MB / 0.67 GB, free: 2.445 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.6022, allocations: 240 kB / 0.6702 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003838/0.606, allocations: 1.314 MB / 0.6715 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2558/0.8618, allocations: 2.978 MB / 0.6744 GB, free: 54.73 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008961/0.8708, allocations: 3.158 MB / 0.6775 GB, free: 54.7 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.8871, allocations: 9.19 MB / 0.6865 GB, free: 54.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.8871, allocations: 1.297 kB / 0.6865 GB, free: 54.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.8871, allocations: 1.75 kB / 0.6865 GB, free: 54.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005876/0.8877, allocations: 0.5312 kB / 0.6865 GB, free: 54.15 MB / 490.7 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.01858/0.9063, allocations: 6.609 MB / 0.6929 GB, free: 51.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.9064, allocations: 9.062 kB / 0.693 GB, free: 51.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/0.9218, allocations: 3.244 MB / 0.6961 GB, free: 50.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/0.9341, allocations: 5.153 MB / 0.7012 GB, free: 49.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.9344, allocations: 391.8 kB / 0.7015 GB, free: 49.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002362/0.9368, allocations: 0.5128 MB / 0.702 GB, free: 49.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03078/0.9676, allocations: 15.78 MB / 0.7174 GB, free: 46.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001912/0.9678, allocations: 69.62 kB / 0.7175 GB, free: 46.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006284/0.9685, allocations: 249.6 kB / 0.7177 GB, free: 46.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004165/0.9727, allocations: 2.933 MB / 0.7206 GB, free: 46.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02262/0.9953, allocations: 13.13 MB / 0.7334 GB, free: 43.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06458/1.06, allocations: 60.42 MB / 0.7924 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/1.073, allocations: 6.085 MB / 0.7984 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004405/1.078, allocations: 3.369 MB / 0.8017 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/1.078, allocations: 50.25 kB / 0.8017 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/1.078, allocations: 60.11 kB / 0.8018 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 4.839e-06/1.078, allocations: 0 / 0.8018 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.06815/1.146, allocations: 25.83 MB / 0.827 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/1.146, allocations: 261.3 kB / 0.8272 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/1.157, allocations: 6.934 MB / 0.834 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007495/1.158, allocations: 69.7 kB / 0.8341 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003603/1.162, allocations: 4.794 MB / 0.8388 GB, free: 36 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001526/1.163, allocations: 1.004 MB / 0.8397 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005742/1.164, allocations: 177 kB / 0.8399 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004786/1.164, allocations: 0.6897 MB / 0.8406 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005356/1.17, allocations: 3.281 MB / 0.8438 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00933/1.179, allocations: 8.452 MB / 0.852 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/1.194, allocations: 12.59 MB / 0.8643 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/1.194, allocations: 52 kB / 0.8644 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02858/1.223, allocations: 13.03 MB / 0.8771 GB, free: 5.582 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002725/1.223, allocations: 84 kB / 0.8772 GB, free: 5.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003428/1.223, allocations: 180 kB / 0.8774 GB, free: 5.324 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004814/1.228, allocations: 1.772 MB / 0.8791 GB, free: 3.547 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00756/1.236, allocations: 2.116 MB / 0.8812 GB, free: 1.605 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2429/1.479, allocations: 11.54 MB / 0.8924 GB, free: 215.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008272/1.487, allocations: 0.4936 MB / 0.8929 GB, free: 215.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001975/1.489, allocations: 0.512 MB / 0.8934 GB, free: 215.3 MB / 0.573 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006986/1.496, allocations: 3.21 MB / 0.8965 GB, free: 214.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/1.497, allocations: 0.5737 MB / 0.8971 GB, free: 214.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/1.507, allocations: 5.799 MB / 0.9028 GB, free: 212.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.444e-05/1.508, allocations: 30.66 kB / 0.9028 GB, free: 212.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/1.508, allocations: 11.59 kB / 0.9028 GB, free: 212.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-05/1.508, allocations: 15.05 kB / 0.9028 GB, free: 212.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02313/1.531, allocations: 12.92 MB / 0.9154 GB, free: 208 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.531, allocations: 0 / 0.9154 GB, free: 208 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/1.533, allocations: 0.5087 MB / 0.9159 GB, free: 208 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003853/1.537, allocations: 1.479 MB / 0.9174 GB, free: 207.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003411/1.538, allocations: 44.98 kB / 0.9174 GB, free: 207.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/1.549, allocations: 10.61 MB / 0.9278 GB, free: 201.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.549, allocations: 9 kB / 0.9278 GB, free: 201.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/1.562, allocations: 9.412 MB / 0.937 GB, free: 198 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002975/1.566, allocations: 1.065 MB / 0.938 GB, free: 197.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009485/1.566, allocations: 47.62 kB / 0.9381 GB, free: 197.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/1.569, allocations: 172.7 kB / 0.9382 GB, free: 197.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004322/1.569, allocations: 160.2 kB / 0.9384 GB, free: 197.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/1.569, allocations: 68.88 kB / 0.9385 GB, free: 197.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007112/1.576, allocations: 4.411 MB / 0.9428 GB, free: 196 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.576, allocations: 3.562 kB / 0.9428 GB, free: 196 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009173/1.586, allocations: 1.629 MB / 0.9444 GB, free: 195.8 MB / 0.573 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005596/1.586, allocations: 172 kB / 0.9445 GB, free: 195.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01061/1.597, allocations: 8.058 MB / 0.9524 GB, free: 190.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.597, allocations: 4 kB / 0.9524 GB, free: 190.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003363/1.6, allocations: 2.732 MB / 0.9551 GB, free: 187.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005346/1.606, allocations: 0.7402 MB / 0.9558 GB, free: 187.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/1.63, allocations: 18.29 MB / 0.9736 GB, free: 169 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004441/1.635, allocations: 4.845 MB / 0.9784 GB, free: 164.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/1.636, allocations: 451.4 kB / 0.9788 GB, free: 163.7 MB / 0.573 GB Notification: Performance of SimCode: time 7.12e-07/1.636, allocations: 4 kB / 0.9788 GB, free: 163.7 MB / 0.573 GB Notification: Performance of Templates: time 0.3709/2.007, allocations: 180.2 MB / 1.155 GB, free: 204.9 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches