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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 184.9 kB / 15.76 MB, free: 6.367 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.433/1.433, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008903/0.0008904, allocations: 78.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2036/0.2036, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003761, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1493, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.6346, allocations: 105.8 MB / 0.5821 GB, free: 10.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.635, allocations: 82.95 kB / 0.5822 GB, free: 10.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6625/1.298, allocations: 137.7 MB / 0.7167 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.827e-06/1.298, allocations: 1.281 kB / 0.7167 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005566/1.298, allocations: 142.5 kB / 0.7168 GB, free: 95.25 MB / 0.4948 GB 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.0299/1.328, allocations: 7.265 MB / 0.7239 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/1.328, allocations: 8.344 kB / 0.7239 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03859/1.367, allocations: 9.488 MB / 0.7332 GB, free: 91.99 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02468/1.391, allocations: 8.783 MB / 0.7417 GB, free: 91.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005092/1.392, allocations: 0.508 MB / 0.7422 GB, free: 91.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003174/1.395, allocations: 0.6808 MB / 0.7429 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03229/1.427, allocations: 16.12 MB / 0.7586 GB, free: 87.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002828/1.428, allocations: 95.62 kB / 0.7587 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001139/1.429, allocations: 327.1 kB / 0.759 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/1.431, allocations: 1.463 MB / 0.7605 GB, free: 87.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/1.456, allocations: 12.87 MB / 0.773 GB, free: 87.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07501/1.531, allocations: 70.79 MB / 0.8422 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/1.543, allocations: 5.906 MB / 0.8479 GB, free: 31.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/1.543, allocations: 52.25 kB / 0.848 GB, free: 31.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/1.543, allocations: 60.12 kB / 0.848 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 5.891e-06/1.543, allocations: 0 / 0.848 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.05333/1.597, allocations: 22.49 MB / 0.87 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/1.597, allocations: 272.6 kB / 0.8703 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009188/1.606, allocations: 6.169 MB / 0.8763 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006228/1.607, allocations: 61.7 kB / 0.8764 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002907/1.61, allocations: 4.882 MB / 0.8811 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.611, allocations: 1.007 MB / 0.8821 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/1.611, allocations: 172 kB / 0.8823 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003692/1.612, allocations: 0.6583 MB / 0.8829 GB, free: 332 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01351/1.625, allocations: 3.634 MB / 0.8865 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/1.636, allocations: 8.014 MB / 0.8943 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008418/1.644, allocations: 4.693 MB / 0.8989 GB, free: 488 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001843/1.645, allocations: 52 kB / 0.8989 GB, free: 436 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.3768/2.021, allocations: 11.23 MB / 0.9099 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/2.022, allocations: 83.02 kB / 0.91 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004584/2.022, allocations: 183 kB / 0.9101 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/2.025, allocations: 0.8051 MB / 0.9109 GB, free: 97.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008009/2.033, allocations: 1.931 MB / 0.9128 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009306/2.042, allocations: 8.457 MB / 0.9211 GB, free: 93.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/2.053, allocations: 459.7 kB / 0.9215 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002571/2.055, allocations: 0.5064 MB / 0.922 GB, free: 93.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * 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 (1036): * Single equations (assignments): 1030 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007991/2.063, allocations: 3.216 MB / 0.9251 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/2.065, allocations: 0.5901 MB / 0.9257 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007658/2.072, allocations: 4.343 MB / 0.93 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/2.073, allocations: 30.41 kB / 0.93 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/2.073, allocations: 10.22 kB / 0.93 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/2.073, allocations: 14.17 kB / 0.93 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/2.094, allocations: 11.24 MB / 0.941 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/2.094, allocations: 0 / 0.941 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/2.096, allocations: 416.2 kB / 0.9414 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/2.097, allocations: 0.4936 MB / 0.9419 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/2.097, allocations: 46.84 kB / 0.9419 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006756/2.104, allocations: 7.538 MB / 0.9493 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/2.104, allocations: 3.609 kB / 0.9493 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009809/2.114, allocations: 7.743 MB / 0.9568 GB, free: 86.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003155/2.117, allocations: 0.9928 MB / 0.9578 GB, free: 85.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008389/2.118, allocations: 42.44 kB / 0.9578 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/2.12, allocations: 139.5 kB / 0.958 GB, free: 85.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/2.12, allocations: 155.4 kB / 0.9581 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/2.121, allocations: 70.8 kB / 0.9582 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006972/2.128, allocations: 4.406 MB / 0.9625 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.443e-06/2.128, allocations: 0 / 0.9625 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008946/2.136, allocations: 1.521 MB / 0.964 GB, free: 83.9 MB / 0.5105 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.0006181/2.137, allocations: 188.3 kB / 0.9642 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01131/2.148, allocations: 7.249 MB / 0.9712 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/2.148, allocations: 7.219 kB / 0.9713 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003257/2.152, allocations: 2.437 MB / 0.9736 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004966/2.157, allocations: 0.7619 MB / 0.9744 GB, free: 79.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02735/2.184, allocations: 17.1 MB / 0.9911 GB, free: 71.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01028/2.194, allocations: 5.042 MB / 0.996 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01514/2.21, allocations: 2.763 MB / 0.9987 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002658/2.212, allocations: 386.1 kB / 0.9991 GB, free: 68.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/2.212, allocations: 0 / 0.9991 GB, free: 68.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.1046/2.317, allocations: 54.69 MB / 1.052 GB, free: 27.2 MB / 0.5105 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 -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/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_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches