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.001171/0.001171, allocations: 183 kB / 16.63 MB, free: 5.137 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.347/1.347, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.0009355/0.0009354, allocations: 94.3 kB / 269.9 MB, free: 8.434 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.3529/0.3529, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 51.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1211, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.3104/0.4315, allocations: 113.3 MB / 0.5862 GB, free: 5.086 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05769/0.4893, allocations: 21.33 MB / 0.607 GB, free: 6.812 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03225/0.5216, allocations: 485.2 kB / 0.6075 GB, free: 6.742 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.5329, allocations: 5.624 MB / 0.613 GB, free: 4.113 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009458/0.5424, allocations: 2.818 MB / 0.6158 GB, free: 1.508 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.5461, allocations: 1.088 MB / 0.6168 GB, free: 428 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.017/0.5631, allocations: 12.15 MB / 0.6287 GB, free: 4.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.5747, allocations: 7.071 MB / 0.6356 GB, free: 13.14 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00612/0.5809, allocations: 2.608 MB / 0.6381 GB, free: 10.52 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007767/0.5887, allocations: 4.397 MB / 0.6424 GB, free: 6.113 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003132/0.5918, allocations: 464 kB / 0.6429 GB, free: 5.66 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006277/0.5982, allocations: 1.373 MB / 0.6442 GB, free: 4.285 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006311/0.6045, allocations: 3.608 MB / 0.6477 GB, free: 0.668 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008402/0.6129, allocations: 4.05 MB / 0.6517 GB, free: 12.59 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.6299, allocations: 12.62 MB / 0.664 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.63, allocations: 3.938 kB / 0.664 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.63, allocations: 4 kB / 0.664 GB, free: 15.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006284/0.6306, allocations: 0 / 0.664 GB, free: 15.93 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.02835/0.659, allocations: 8.939 MB / 0.6728 GB, free: 6.898 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.6591, allocations: 8.031 kB / 0.6728 GB, free: 6.891 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/0.6774, allocations: 3.301 MB / 0.676 GB, free: 3.574 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01513/0.6926, allocations: 5.451 MB / 0.6813 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005848/0.6932, allocations: 443.7 kB / 0.6817 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002905/0.6961, allocations: 0.5815 MB / 0.6823 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4583/1.154, allocations: 17.77 MB / 0.6997 GB, free: 150.1 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002503/1.155, allocations: 78.38 kB / 0.6997 GB, free: 150.1 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006847/1.155, allocations: 282.7 kB / 0.7 GB, free: 150 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005875/1.161, allocations: 3.432 MB / 0.7034 GB, free: 149.4 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0276/1.189, allocations: 14.9 MB / 0.7179 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08355/1.272, allocations: 69.01 MB / 0.7853 GB, free: 95.75 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/1.287, allocations: 7.377 MB / 0.7925 GB, free: 90.38 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004571/1.292, allocations: 4.431 MB / 0.7968 GB, free: 85.92 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/1.292, allocations: 66.03 kB / 0.7969 GB, free: 85.86 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/1.292, allocations: 72.62 kB / 0.797 GB, free: 85.78 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=307): time 7.023e-06/1.292, allocations: 0 / 0.797 GB, free: 85.78 MB / 0.4949 GB Notification: Performance of matching and sorting (n=340): time 0.07381/1.366, allocations: 35.34 MB / 0.8315 GB, free: 50.11 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/1.366, allocations: 295.4 kB / 0.8318 GB, free: 49.76 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00919/1.375, allocations: 7.467 MB / 0.839 GB, free: 42.31 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000936/1.376, allocations: 73.7 kB / 0.8391 GB, free: 42.23 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00278/1.379, allocations: 5.282 MB / 0.8443 GB, free: 36.88 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/1.381, allocations: 1.293 MB / 0.8455 GB, free: 35.57 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002397/1.383, allocations: 2.042 MB / 0.8475 GB, free: 33.52 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 5.028e-05/1.383, allocations: 305.1 kB / 0.8478 GB, free: 33.22 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004744/1.388, allocations: 4.15 MB / 0.8519 GB, free: 29.06 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007171/1.395, allocations: 9.79 MB / 0.8614 GB, free: 16.51 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/1.41, allocations: 14.94 MB / 0.876 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001832/1.41, allocations: 59.94 kB / 0.8761 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.2917/1.702, allocations: 15.77 MB / 0.8915 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001901/1.702, allocations: 89.77 kB / 0.8916 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003424/1.703, allocations: 198.8 kB / 0.8918 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006666/1.709, allocations: 2.312 MB / 0.894 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009789/1.719, allocations: 2.368 MB / 0.8963 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/1.737, allocations: 14.51 MB / 0.9105 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008493/1.745, allocations: 0.5704 MB / 0.9111 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/1.747, allocations: 0.5765 MB / 0.9116 GB, free: 139.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * 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 (1226): * Single equations (assignments): 1220 * 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,23,100.0%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006268/1.753, allocations: 3.587 MB / 0.9151 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/1.755, allocations: 0.6357 MB / 0.9157 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/1.768, allocations: 8.128 MB / 0.9237 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/1.768, allocations: 41.36 kB / 0.9237 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-05/1.768, allocations: 9 kB / 0.9237 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.484e-05/1.768, allocations: 20.23 kB / 0.9237 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03382/1.802, allocations: 17.13 MB / 0.9405 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/1.802, allocations: 11.28 kB / 0.9405 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003134/1.805, allocations: 0.6266 MB / 0.9411 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005263/1.81, allocations: 2.008 MB / 0.9431 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004121/1.811, allocations: 59.69 kB / 0.9431 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01489/1.826, allocations: 13.56 MB / 0.9564 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.826, allocations: 3.969 kB / 0.9564 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1115/1.937, allocations: 78.45 MB / 1.033 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002848/1.94, allocations: 1.272 MB / 1.034 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006695/1.941, allocations: 59.73 kB / 1.034 GB, free: 47.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/1.943, allocations: 227.7 kB / 1.034 GB, free: 46.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006405/1.944, allocations: 205.8 kB / 1.035 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/1.944, allocations: 84.27 kB / 1.035 GB, free: 46.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006087/1.95, allocations: 4.755 MB / 1.039 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/1.95, allocations: 0 / 1.039 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009948/1.96, allocations: 2.569 MB / 1.042 GB, free: 39.39 MB / 0.5105 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 (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 {(4,18,75.0%), (1,11,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.0006247/1.961, allocations: 216.6 kB / 1.042 GB, free: 39.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01366/1.975, allocations: 10.16 MB / 1.052 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.975, allocations: 4 kB / 1.052 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005328/1.98, allocations: 3.897 MB / 1.056 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005574/1.986, allocations: 0.8205 MB / 1.057 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03139/2.017, allocations: 24.37 MB / 1.08 GB, free: 15.88 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2247/2.242, allocations: 5.573 MB / 1.086 GB, free: 151.2 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.009148/2.251, allocations: 3.235 MB / 1.089 GB, free: 151.1 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/2.253, allocations: 458.2 kB / 1.089 GB, free: 151.1 MB / 0.5262 GB Notification: Performance of SimCode: time 6.71e-07/2.253, allocations: 0 / 1.089 GB, free: 151.1 MB / 0.5262 GB Notification: Performance of Templates: time 0.146/2.399, allocations: 93.05 MB / 1.18 GB, free: 100.8 MB / 0.5262 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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