Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.22/1.22, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009414, allocations: 99.97 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1817/0.1817, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.113e-05, allocations: 8.203 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3911/0.5125, allocations: 106.8 MB / 0.606 GB, free: 14.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.5128, allocations: 83.73 kB / 0.6061 GB, free: 14.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6327/1.145, allocations: 156 MB / 0.7584 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/1.145, allocations: 3.312 kB / 0.7584 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004416/1.146, allocations: 157.6 kB / 0.7586 GB, free: 108.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02338/1.169, allocations: 7.613 MB / 0.766 GB, free: 106 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.169, allocations: 10.69 kB / 0.766 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04352/1.213, allocations: 11.93 MB / 0.7777 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02474/1.238, allocations: 9.968 MB / 0.7874 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004156/1.238, allocations: 0.5684 MB / 0.788 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003237/1.241, allocations: 0.7637 MB / 0.7887 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03878/1.28, allocations: 17.95 MB / 0.8063 GB, free: 94.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005104/1.281, allocations: 109.9 kB / 0.8064 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002348/1.283, allocations: 362.3 kB / 0.8067 GB, free: 94.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001904/1.285, allocations: 1.571 MB / 0.8082 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02633/1.311, allocations: 14.35 MB / 0.8223 GB, free: 79.74 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07353/1.385, allocations: 75.42 MB / 0.8959 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01806/1.403, allocations: 7.456 MB / 0.9032 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004921/1.408, allocations: 3.544 MB / 0.9067 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007333/1.409, allocations: 0.6476 MB / 0.9073 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.329e-05/1.409, allocations: 64.12 kB / 0.9074 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=239): time 5.801e-06/1.409, allocations: 0 / 0.9074 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=263): time 0.3433/1.752, allocations: 23 MB / 0.9298 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.752, allocations: 295 kB / 0.9301 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/1.765, allocations: 6.423 MB / 0.9364 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005374/1.766, allocations: 66.42 kB / 0.9364 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003601/1.769, allocations: 5.342 MB / 0.9417 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001111/1.77, allocations: 1.02 MB / 0.9426 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/1.771, allocations: 169.9 kB / 0.9428 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003327/1.771, allocations: 0.6634 MB / 0.9435 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003982/1.775, allocations: 2.844 MB / 0.9462 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006492/1.781, allocations: 8.077 MB / 0.9541 GB, free: 98.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00657/1.788, allocations: 4.744 MB / 0.9588 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/1.788, allocations: 55.56 kB / 0.9588 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.01788/1.806, allocations: 11.46 MB / 0.97 GB, free: 95.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.806, allocations: 84.34 kB / 0.9701 GB, free: 95.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/1.806, allocations: 187.4 kB / 0.9703 GB, free: 95.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/1.809, allocations: 0.998 MB / 0.9712 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/1.814, allocations: 1.927 MB / 0.9731 GB, free: 95.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009559/1.824, allocations: 10.98 MB / 0.9838 GB, free: 87.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008299/1.832, allocations: 456.4 kB / 0.9843 GB, free: 87.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001838/1.834, allocations: 0.5172 MB / 0.9848 GB, free: 87.39 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (1040): * Single equations (assignments): 1033 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0021/1.836, allocations: 0.7799 MB / 0.9855 GB, free: 86.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002163/1.839, allocations: 0.6255 MB / 0.9862 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008213/1.847, allocations: 4.562 MB / 0.9906 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.265e-05/1.847, allocations: 28.5 kB / 0.9906 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/1.847, allocations: 10.22 kB / 0.9906 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/1.847, allocations: 14.73 kB / 0.9907 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02157/1.868, allocations: 12.4 MB / 1.003 GB, free: 80.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.869, allocations: 6.875 kB / 1.003 GB, free: 80.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.87, allocations: 384.2 kB / 1.003 GB, free: 80.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/1.872, allocations: 0.6642 MB / 1.004 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/1.872, allocations: 50.17 kB / 1.004 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008273/1.88, allocations: 9.855 MB / 1.013 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.88, allocations: 3.75 kB / 1.013 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/1.891, allocations: 7.903 MB / 1.021 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002344/1.893, allocations: 0.6823 MB / 1.022 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/1.895, allocations: 43.8 kB / 1.022 GB, free: 68.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002652/1.897, allocations: 143.8 kB / 1.022 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/1.898, allocations: 154.7 kB / 1.022 GB, free: 68.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.898, allocations: 64.95 kB / 1.022 GB, free: 68.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007375/1.905, allocations: 4.569 MB / 1.027 GB, free: 65.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/1.905, allocations: 0 / 1.027 GB, free: 65.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008956/1.914, allocations: 1.635 MB / 1.028 GB, free: 63.44 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 200 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(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.0006047/1.915, allocations: 197.1 kB / 1.028 GB, free: 63.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01003/1.925, allocations: 7.411 MB / 1.036 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.925, allocations: 0 / 1.036 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002873/1.928, allocations: 2.563 MB / 1.038 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00539/1.933, allocations: 0.9132 MB / 1.039 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/1.956, allocations: 13.11 MB / 1.052 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006221/1.963, allocations: 5.555 MB / 1.057 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006712/1.969, allocations: 2.762 MB / 1.06 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.97, allocations: 401.2 kB / 1.06 GB, free: 35.48 MB / 0.5261 GB Notification: Performance of SimCode: time 6.81e-07/1.971, allocations: 0 / 1.06 GB, free: 35.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.3912/2.362, allocations: 61.97 MB / 1.121 GB, free: 110.6 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches