Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000943/0.000943, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008889, allocations: 93.77 kB / 292.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3254/0.3254, allocations: 44.21 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003595, allocations: 15.98 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3881, allocations: 61.89 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.543, allocations: 109.1 MB / 0.6161 GB, free: 2.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.5434, allocations: 83.95 kB / 0.6162 GB, free: 1.938 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6485/1.192, allocations: 141.3 MB / 0.7541 GB, free: 85.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.186e-06/1.192, allocations: 0 / 0.7541 GB, free: 85.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005471/1.193, allocations: 145.1 kB / 0.7543 GB, free: 85.13 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02696/1.22, allocations: 7.487 MB / 0.7616 GB, free: 80.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.22, allocations: 8.781 kB / 0.7616 GB, free: 80.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03688/1.256, allocations: 9.494 MB / 0.7709 GB, free: 74.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02433/1.281, allocations: 8.421 MB / 0.7791 GB, free: 66.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005685/1.281, allocations: 0.5254 MB / 0.7796 GB, free: 65.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003636/1.285, allocations: 0.6989 MB / 0.7803 GB, free: 65.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04125/1.326, allocations: 16.64 MB / 0.7965 GB, free: 47.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006938/1.327, allocations: 107 kB / 0.7966 GB, free: 46.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003801/1.331, allocations: 339.8 kB / 0.797 GB, free: 46.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002161/1.333, allocations: 1.491 MB / 0.7984 GB, free: 45.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02689/1.36, allocations: 13.19 MB / 0.8113 GB, free: 31.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4331/1.793, allocations: 75.4 MB / 0.8849 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/1.807, allocations: 6.322 MB / 0.8911 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/1.807, allocations: 46.97 kB / 0.8912 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/1.807, allocations: 66.22 kB / 0.8912 GB, free: 55.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 5.68e-06/1.807, allocations: 0 / 0.8912 GB, free: 55.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.0807/1.888, allocations: 28.05 MB / 0.9186 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/1.888, allocations: 286.5 kB / 0.9189 GB, free: 48.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01825/1.907, allocations: 6.309 MB / 0.925 GB, free: 47.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007498/1.907, allocations: 63.08 kB / 0.9251 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004594/1.912, allocations: 5 MB / 0.93 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001656/1.914, allocations: 1.015 MB / 0.931 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/1.915, allocations: 172.4 kB / 0.9311 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001012/1.916, allocations: 0.674 MB / 0.9318 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005214/1.921, allocations: 3.08 MB / 0.9348 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007949/1.929, allocations: 8.322 MB / 0.9429 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00783/1.937, allocations: 4.951 MB / 0.9478 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003291/1.937, allocations: 52.75 kB / 0.9478 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02517/1.963, allocations: 12.28 MB / 0.9598 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003957/1.963, allocations: 84.75 kB / 0.9599 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005213/1.964, allocations: 185.3 kB / 0.9601 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00364/1.967, allocations: 1.367 MB / 0.9614 GB, free: 31.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007071/1.974, allocations: 1.974 MB / 0.9633 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/1.987, allocations: 11.48 MB / 0.9745 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009462/1.996, allocations: 479.4 kB / 0.975 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002424/1.999, allocations: 0.5188 MB / 0.9755 GB, free: 24.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 (1043): * Single equations (assignments): 1037 * 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.009994/2.009, allocations: 3.301 MB / 0.9787 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002325/2.011, allocations: 0.591 MB / 0.9793 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/2.022, allocations: 5.28 MB / 0.9845 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.425e-05/2.022, allocations: 31.84 kB / 0.9845 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-05/2.022, allocations: 8 kB / 0.9845 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.979e-05/2.022, allocations: 11.72 kB / 0.9845 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03069/2.052, allocations: 12.95 MB / 0.9972 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/2.053, allocations: 0 / 0.9972 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/2.055, allocations: 425.3 kB / 0.9976 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/2.057, allocations: 1.053 MB / 0.9986 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/2.057, allocations: 48.05 kB / 0.9986 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/2.07, allocations: 10.59 MB / 1.009 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/2.07, allocations: 7.953 kB / 1.009 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/2.084, allocations: 9.029 MB / 1.018 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003516/2.087, allocations: 0.6508 MB / 1.018 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002312/2.09, allocations: 42.73 kB / 1.018 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003411/2.093, allocations: 156.6 kB / 1.019 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005216/2.094, allocations: 159 kB / 1.019 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/2.094, allocations: 64.78 kB / 1.019 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0106/2.105, allocations: 4.488 MB / 1.023 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/2.105, allocations: 0 / 1.023 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01351/2.118, allocations: 1.791 MB / 1.025 GB, free: 0 / 0.5261 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 (204): * Single equations (assignments): 198 * 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.000845/2.119, allocations: 192.9 kB / 1.025 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01268/2.132, allocations: 7.784 MB / 1.033 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/2.132, allocations: 4 kB / 1.033 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004356/2.136, allocations: 2.781 MB / 1.035 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004983/2.141, allocations: 0.8087 MB / 1.036 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03351/2.175, allocations: 17.85 MB / 1.054 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008963/2.184, allocations: 5.159 MB / 1.059 GB, free: 14.41 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007967/2.192, allocations: 2.821 MB / 1.062 GB, free: 11.61 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/2.193, allocations: 387.4 kB / 1.062 GB, free: 11.23 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/2.193, allocations: 0 / 1.062 GB, free: 11.23 MB / 0.573 GB Notification: Performance of Templates: time 0.4375/2.631, allocations: 60.42 MB / 1.121 GB, free: 180.3 MB / 0.6042 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches