Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00212/0.002119, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 92.47 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2982/0.2982, allocations: 43.48 MB / 353.5 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.924e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4103, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/0.618, allocations: 108 MB / 0.5714 GB, free: 7.258 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.6183, allocations: 83.23 kB / 0.5715 GB, free: 7.18 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9345/1.553, allocations: 149.4 MB / 0.7174 GB, free: 90.27 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.545e-06/1.553, allocations: 0 / 0.7174 GB, free: 90.27 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0005311/1.553, allocations: 155.6 kB / 0.7175 GB, free: 90.12 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.03148/1.585, allocations: 7.376 MB / 0.7247 GB, free: 82.68 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.585, allocations: 8.031 kB / 0.7247 GB, free: 82.68 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06997/1.655, allocations: 9.631 MB / 0.7341 GB, free: 73.02 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03286/1.688, allocations: 9.127 MB / 0.743 GB, free: 63.9 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004832/1.688, allocations: 251.9 kB / 0.7433 GB, free: 63.65 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004016/1.692, allocations: 467.8 kB / 0.7437 GB, free: 63.2 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02707/1.72, allocations: 10.44 MB / 0.7539 GB, free: 52.75 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04301/1.763, allocations: 16.12 MB / 0.7697 GB, free: 34.98 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005854/1.763, allocations: 107.1 kB / 0.7698 GB, free: 34.88 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003708/1.767, allocations: 55.98 kB / 0.7698 GB, free: 34.82 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003709/1.771, allocations: 1.697 MB / 0.7715 GB, free: 33.13 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9297/2.701, allocations: 77.7 MB / 0.8473 GB, free: 64.89 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/2.713, allocations: 5.865 MB / 0.8531 GB, free: 64.18 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008431/2.722, allocations: 3.971 MB / 0.857 GB, free: 64.12 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004191/2.722, allocations: 64.16 kB / 0.857 GB, free: 64.12 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.562e-05/2.722, allocations: 71.38 kB / 0.8571 GB, free: 64.09 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=307): time 7.835e-06/2.722, allocations: 0 / 0.8571 GB, free: 64.09 MB / 0.4953 GB Notification: Performance of matching and sorting (n=340): time 0.1005/2.823, allocations: 30.09 MB / 0.8865 GB, free: 57.47 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/2.823, allocations: 303.2 kB / 0.8868 GB, free: 57.15 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01327/2.836, allocations: 5.124 MB / 0.8918 GB, free: 56.12 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 0.0009244/2.837, allocations: 32.11 kB / 0.8918 GB, free: 56.09 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 0.004682/2.842, allocations: 5.29 MB / 0.897 GB, free: 52 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.002258/2.844, allocations: 1.251 MB / 0.8982 GB, free: 51.07 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/2.846, allocations: 2.781 kB / 0.8982 GB, free: 51.07 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0009023/2.847, allocations: 0.7243 MB / 0.8989 GB, free: 50.59 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00875/2.856, allocations: 3.487 MB / 0.9023 GB, free: 49.32 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01246/2.868, allocations: 9.284 MB / 0.9114 GB, free: 40.25 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/2.881, allocations: 5.607 MB / 0.9168 GB, free: 38.53 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002827/2.881, allocations: 60.22 kB / 0.9169 GB, free: 38.53 MB / 0.4953 GB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.03458/2.916, allocations: 12.46 MB / 0.9291 GB, free: 33.36 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/2.916, allocations: 92 kB / 0.9292 GB, free: 33.27 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002929/2.916, allocations: 211.9 kB / 0.9294 GB, free: 33.07 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005555/2.922, allocations: 1.389 MB / 0.9307 GB, free: 31.99 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01474/2.937, allocations: 2.315 MB / 0.933 GB, free: 29.99 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/2.955, allocations: 10.68 MB / 0.9434 GB, free: 20.18 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/2.966, allocations: 364.2 kB / 0.9437 GB, free: 19.89 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002461/2.968, allocations: 0.5924 MB / 0.9443 GB, free: 19.32 MB / 0.4953 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 944 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1217): * Single equations (assignments): 1211 * 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%) 13,(1,100.0%) 14,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002791/2.971, allocations: 0.6252 MB / 0.9449 GB, free: 18.7 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/2.973, allocations: 0.5592 MB / 0.9455 GB, free: 18.13 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01739/2.99, allocations: 6.259 MB / 0.9516 GB, free: 13.04 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-05/2.99, allocations: 39.95 kB / 0.9516 GB, free: 13 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.989e-05/2.99, allocations: 8 kB / 0.9516 GB, free: 13 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.249e-05/2.991, allocations: 15.28 kB / 0.9517 GB, free: 13 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03996/3.031, allocations: 13.93 MB / 0.9653 GB, free: 1.734 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.455e-05/3.031, allocations: 7.359 kB / 0.9653 GB, free: 1.73 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00598/3.037, allocations: 0.5787 MB / 0.9658 GB, free: 1.27 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004823/3.041, allocations: 1.043 MB / 0.9668 GB, free: 0.5234 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008385/3.042, allocations: 15.61 kB / 0.9669 GB, free: 0.5117 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02041/3.063, allocations: 9.746 MB / 0.9764 GB, free: 7.562 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/3.063, allocations: 4 kB / 0.9764 GB, free: 7.559 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03961/3.102, allocations: 11.46 MB / 0.9876 GB, free: 15.91 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004929/3.107, allocations: 1.081 MB / 0.9886 GB, free: 14.9 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/3.109, allocations: 3.953 kB / 0.9886 GB, free: 14.9 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005869/3.115, allocations: 156.3 kB / 0.9888 GB, free: 14.82 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001308/3.117, allocations: 195.3 kB / 0.989 GB, free: 14.7 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004857/3.117, allocations: 89.95 kB / 0.9891 GB, free: 14.61 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.01036/3.127, allocations: 3.461 MB / 0.9924 GB, free: 11.6 MB / 0.5265 GB Notification: Performance of sort global known variables: time 9.32e-07/3.127, allocations: 0 / 0.9924 GB, free: 11.6 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.01395/3.141, allocations: 1.547 MB / 0.9939 GB, free: 10.06 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001274/3.143, allocations: 157.6 kB / 0.9941 GB, free: 9.906 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.023/3.166, allocations: 8.775 MB / 1.003 GB, free: 1.953 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/3.166, allocations: 0 / 1.003 GB, free: 1.953 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.01197/3.178, allocations: 3.506 MB / 1.006 GB, free: 15.11 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006646/3.185, allocations: 0.6283 MB / 1.007 GB, free: 14.49 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04855/3.233, allocations: 14.94 MB / 1.021 GB, free: 15.52 MB / 0.5578 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01601/3.249, allocations: 5.628 MB / 1.027 GB, free: 9.902 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003571/3.253, allocations: 483.3 kB / 1.027 GB, free: 9.43 MB / 0.5578 GB Notification: Performance of SimCode: time 1.543e-06/3.253, allocations: 0 / 1.027 GB, free: 9.43 MB / 0.5578 GB Notification: Performance of Templates: time 0.7532/4.006, allocations: 189.6 MB / 1.212 GB, free: 71.39 MB / 0.5734 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches