Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009752/0.0009748, allocations: 176.1 kB / 16.76 MB, free: 4.934 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.45/1.45, allocations: 205.4 MB / 222.9 MB, free: 8.918 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.0007841/0.0007844, allocations: 90.41 kB / 271.3 MB, free: 8.219 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.3451/0.3451, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 12 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/0.4806, allocations: 108.9 MB / 0.5863 GB, free: 8.848 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.4808, allocations: 71.97 kB / 0.5864 GB, free: 8.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5801/1.061, allocations: 150.2 MB / 0.7331 GB, free: 83.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.061, allocations: 4 kB / 0.7331 GB, free: 83.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004582/1.061, allocations: 159.5 kB / 0.7332 GB, free: 83.62 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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.02691/1.088, allocations: 7.733 MB / 0.7408 GB, free: 80.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.088, allocations: 15.62 kB / 0.7408 GB, free: 80.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02831/1.117, allocations: 7.164 MB / 0.7478 GB, free: 79.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01933/1.136, allocations: 7.927 MB / 0.7555 GB, free: 75.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005988/1.137, allocations: 0.5798 MB / 0.7561 GB, free: 75.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003883/1.141, allocations: 0.77 MB / 0.7568 GB, free: 75.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04132/1.182, allocations: 18.06 MB / 0.7745 GB, free: 66.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005486/1.183, allocations: 111.2 kB / 0.7746 GB, free: 66.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002962/1.186, allocations: 370.1 kB / 0.7749 GB, free: 65.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0022/1.188, allocations: 1.695 MB / 0.7766 GB, free: 65.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02736/1.215, allocations: 14.45 MB / 0.7907 GB, free: 55.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3709/1.586, allocations: 80.83 MB / 0.8696 GB, free: 40.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0161/1.602, allocations: 7.145 MB / 0.8766 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00492/1.607, allocations: 4.118 MB / 0.8806 GB, free: 39.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/1.607, allocations: 65.39 kB / 0.8807 GB, free: 39.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/1.608, allocations: 66.41 kB / 0.8807 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 6.372e-06/1.608, allocations: 0 / 0.8807 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=340): time 0.07765/1.685, allocations: 31.26 MB / 0.9113 GB, free: 32.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.685, allocations: 299.4 kB / 0.9116 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0133/1.699, allocations: 7.412 MB / 0.9188 GB, free: 31.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008749/1.7, allocations: 76.36 kB / 0.9189 GB, free: 31.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003677/1.703, allocations: 5.37 MB / 0.9241 GB, free: 28.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002037/1.705, allocations: 1.28 MB / 0.9254 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006567/1.706, allocations: 191.5 kB / 0.9255 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005125/1.707, allocations: 0.7136 MB / 0.9262 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005247/1.712, allocations: 3.693 MB / 0.9298 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007346/1.719, allocations: 9.343 MB / 0.939 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01435/1.734, allocations: 14.16 MB / 0.9528 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002186/1.734, allocations: 60.95 kB / 0.9529 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.02584/1.76, allocations: 13.94 MB / 0.9665 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.76, allocations: 92.56 kB / 0.9666 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002294/1.76, allocations: 199.3 kB / 0.9667 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/1.763, allocations: 1.354 MB / 0.9681 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007484/1.771, allocations: 2.239 MB / 0.9703 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/1.782, allocations: 11.29 MB / 0.9813 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00949/1.792, allocations: 0.5399 MB / 0.9818 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002239/1.794, allocations: 0.5642 MB / 0.9824 GB, free: 9.855 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 902 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1175): * Single equations (assignments): 1169 * 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,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009482/1.804, allocations: 3.59 MB / 0.9859 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001818/1.806, allocations: 0.6402 MB / 0.9865 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/1.818, allocations: 6.678 MB / 0.993 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.451e-05/1.818, allocations: 38.73 kB / 0.993 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.933e-05/1.818, allocations: 11.94 kB / 0.9931 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.766e-05/1.818, allocations: 18.62 kB / 0.9931 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03302/1.852, allocations: 15.5 MB / 1.008 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/1.852, allocations: 9.938 kB / 1.008 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003131/1.855, allocations: 0.5821 MB / 1.009 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002694/1.857, allocations: 1.046 MB / 1.01 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006795/1.858, allocations: 59.84 kB / 1.01 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/1.87, allocations: 10.29 MB / 1.02 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.87, allocations: 4 kB / 1.02 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/1.888, allocations: 11.05 MB / 1.031 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004381/1.892, allocations: 1.216 MB / 1.032 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002098/1.894, allocations: 55.33 kB / 1.032 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004151/1.898, allocations: 203.8 kB / 1.032 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007813/1.899, allocations: 197.2 kB / 1.032 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002489/1.899, allocations: 89.8 kB / 1.032 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0106/1.91, allocations: 4.707 MB / 1.037 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.494e-06/1.91, allocations: 112 / 1.037 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01207/1.922, allocations: 1.798 MB / 1.039 GB, free: 9.391 MB / 0.5573 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 () * Number of clocked 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.001128/1.923, allocations: 203 kB / 1.039 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01707/1.94, allocations: 9.264 MB / 1.048 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/1.94, allocations: 11.94 kB / 1.048 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008025/1.948, allocations: 3.667 MB / 1.052 GB, free: 14.23 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00764/1.956, allocations: 0.8714 MB / 1.052 GB, free: 13.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03953/1.996, allocations: 20.17 MB / 1.072 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/2.007, allocations: 5.461 MB / 1.077 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01054/2.017, allocations: 3.175 MB / 1.081 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/2.02, allocations: 443.3 kB / 1.081 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of SimCode: time 7.72e-07/2.02, allocations: 0 / 1.081 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of Templates: time 0.4092/2.429, allocations: 66.72 MB / 1.146 GB, free: 164.9 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches