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.0009694/0.0009694, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.361/1.361, allocations: 223.2 MB / 241 MB, free: 11.9 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.0008756/0.0008757, allocations: 99.14 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.3907/0.3907, allocations: 44.2 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002933, allocations: 11.98 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3204, allocations: 61.89 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.4563, allocations: 106.9 MB / 0.614 GB, free: 4.199 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4565, allocations: 87.89 kB / 0.6141 GB, free: 4.117 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6323/1.089, allocations: 155.8 MB / 0.7663 GB, free: 77.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.823e-06/1.089, allocations: 0 / 0.7663 GB, free: 77.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005555/1.089, allocations: 160.5 kB / 0.7664 GB, free: 77.23 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02885/1.118, allocations: 8.357 MB / 0.7746 GB, free: 70.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.118, allocations: 12.03 kB / 0.7746 GB, free: 70.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04202/1.16, allocations: 11.92 MB / 0.7862 GB, free: 58.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02415/1.185, allocations: 10.01 MB / 0.796 GB, free: 48.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005068/1.185, allocations: 0.5618 MB / 0.7965 GB, free: 48.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00387/1.189, allocations: 0.7769 MB / 0.7973 GB, free: 47.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03778/1.227, allocations: 18.08 MB / 0.815 GB, free: 27.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004282/1.227, allocations: 111 kB / 0.8151 GB, free: 27.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002173/1.229, allocations: 367.8 kB / 0.8154 GB, free: 27.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001865/1.231, allocations: 1.567 MB / 0.8169 GB, free: 25.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02744/1.259, allocations: 14.56 MB / 0.8312 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.367/1.626, allocations: 75.43 MB / 0.9048 GB, free: 51.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01746/1.643, allocations: 7.485 MB / 0.9121 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006896/1.644, allocations: 0.6609 MB / 0.9128 GB, free: 49.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/1.644, allocations: 57.84 kB / 0.9128 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=239): time 5.57e-06/1.644, allocations: 0 / 0.9128 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263): time 0.07383/1.718, allocations: 26.9 MB / 0.9391 GB, free: 43.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.617e-05/1.718, allocations: 290 kB / 0.9394 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/1.73, allocations: 6.487 MB / 0.9457 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006463/1.731, allocations: 64.77 kB / 0.9458 GB, free: 42.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003843/1.735, allocations: 5.343 MB / 0.951 GB, free: 40.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.736, allocations: 1.017 MB / 0.952 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005462/1.737, allocations: 168.9 kB / 0.9522 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003629/1.737, allocations: 0.6662 MB / 0.9528 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003593/1.74, allocations: 2.902 MB / 0.9556 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005688/1.746, allocations: 8.13 MB / 0.9636 GB, free: 31.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00605/1.752, allocations: 4.757 MB / 0.9682 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/1.752, allocations: 52.78 kB / 0.9683 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.0189/1.771, allocations: 11.58 MB / 0.9796 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.771, allocations: 86.61 kB / 0.9797 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002064/1.772, allocations: 182.9 kB / 0.9798 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/1.774, allocations: 1 MB / 0.9808 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005877/1.78, allocations: 1.93 MB / 0.9827 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009766/1.789, allocations: 11.18 MB / 0.9936 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007366/1.797, allocations: 458.2 kB / 0.9941 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/1.798, allocations: 0.5094 MB / 0.9946 GB, free: 18.29 MB / 0.5105 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 () * Number of clocked 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.006644/1.805, allocations: 3.522 MB / 0.998 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/1.807, allocations: 0.6213 MB / 0.9986 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007212/1.814, allocations: 4.601 MB / 1.003 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.505e-05/1.814, allocations: 31.95 kB / 1.003 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/1.814, allocations: 8 kB / 1.003 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/1.814, allocations: 10.97 kB / 1.003 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/1.835, allocations: 12.44 MB / 1.015 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.835, allocations: 0 / 1.015 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/1.837, allocations: 389 kB / 1.016 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/1.839, allocations: 0.6678 MB / 1.016 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/1.839, allocations: 46.91 kB / 1.016 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/1.85, allocations: 10.09 MB / 1.026 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.85, allocations: 0 / 1.026 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.861, allocations: 7.96 MB / 1.034 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002343/1.864, allocations: 0.6702 MB / 1.035 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007565/1.864, allocations: 50.84 kB / 1.035 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/1.867, allocations: 148.6 kB / 1.035 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007042/1.867, allocations: 178.1 kB / 1.035 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.867, allocations: 64 kB / 1.035 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009389/1.877, allocations: 4.634 MB / 1.04 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.01e-07/1.877, allocations: 3.938 kB / 1.04 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009927/1.887, allocations: 1.645 MB / 1.041 GB, free: 10.5 MB / 0.5417 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 () * Number of clocked 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.0006865/1.888, allocations: 192 kB / 1.041 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01352/1.901, allocations: 7.489 MB / 1.049 GB, free: 3.703 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.901, allocations: 0 / 1.049 GB, free: 3.703 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003449/1.905, allocations: 2.6 MB / 1.051 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004493/1.909, allocations: 0.9145 MB / 1.052 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03423/1.943, allocations: 18.85 MB / 1.071 GB, free: 15.55 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00946/1.953, allocations: 5.554 MB / 1.076 GB, free: 11.14 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008541/1.961, allocations: 2.76 MB / 1.079 GB, free: 8.402 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/1.963, allocations: 407.3 kB / 1.079 GB, free: 8.004 MB / 0.573 GB Notification: Performance of SimCode: time 1.032e-06/1.963, allocations: 0 / 1.079 GB, free: 8.004 MB / 0.573 GB Notification: Performance of Templates: time 0.4128/2.376, allocations: 61.96 MB / 1.14 GB, free: 144.5 MB / 0.573 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