Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 108.3 kB / 18.41 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 187 kB / 19.33 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.259/0.259, allocations: 44.17 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 60.38 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1214, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01443/0.1359, allocations: 12.85 MB / 483.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00994/0.1458, allocations: 4.516 MB / 488.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/0.1484, allocations: 91.69 kB / 488.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006575/0.1549, allocations: 3.742 MB / 491.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005867/0.1609, allocations: 2.256 MB / 494.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.1629, allocations: 0.9904 MB / 495.2 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008142/0.1711, allocations: 6.03 MB / 0.4894 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00515/0.1763, allocations: 4.593 MB / 0.4939 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.1793, allocations: 1.99 MB / 0.4959 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003705/0.1831, allocations: 2.648 MB / 0.4984 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008161/0.1839, allocations: 416 kB / 0.4988 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.1865, allocations: 1.463 MB / 0.5003 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002372/0.1889, allocations: 2.486 MB / 0.5027 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2721/0.461, allocations: 2.791 MB / 0.5054 GB, free: 20.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.4746, allocations: 8.869 MB / 0.5141 GB, free: 19.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.4746, allocations: 1.406 kB / 0.5141 GB, free: 19.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4746, allocations: 1.062 kB / 0.5141 GB, free: 19.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003535/0.475, allocations: 0 / 0.5141 GB, free: 19.74 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01835/0.4934, allocations: 6.125 MB / 0.5201 GB, free: 17.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4934, allocations: 10.88 kB / 0.5201 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/0.5059, allocations: 2.593 MB / 0.5226 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/0.5175, allocations: 3.842 MB / 0.5264 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/0.5179, allocations: 281 kB / 0.5266 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002148/0.5201, allocations: 379.3 kB / 0.527 GB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0244/0.5445, allocations: 11.99 MB / 0.5387 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003384/0.5449, allocations: 51.44 kB / 0.5388 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001716/0.5466, allocations: 185.4 kB / 0.5389 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003706/0.5503, allocations: 2.267 MB / 0.5411 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02072/0.5711, allocations: 9.934 MB / 0.5508 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07311/0.6442, allocations: 46.46 MB / 0.5962 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/0.6551, allocations: 3.927 MB / 0.6001 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/0.6584, allocations: 2.164 MB / 0.6022 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01534/0.6738, allocations: 6.532 MB / 0.6085 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.467e-05/0.6739, allocations: 61.62 kB / 0.6086 GB, free: 3.887 MB / 446.1 MB Notification: Performance of pre-optimization done (n=154): time 7.083e-06/0.674, allocations: 3.75 kB / 0.6086 GB, free: 3.887 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.05404/0.728, allocations: 16.58 MB / 0.6248 GB, free: 3.219 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.7281, allocations: 196.9 kB / 0.625 GB, free: 2.984 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01294/0.7411, allocations: 5.669 MB / 0.6305 GB, free: 13.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005481/0.7417, allocations: 48.75 kB / 0.6306 GB, free: 13.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00409/0.7458, allocations: 3.782 MB / 0.6343 GB, free: 9.512 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001364/0.7472, allocations: 0.6713 MB / 0.6349 GB, free: 8.844 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003732/0.7509, allocations: 1.426 MB / 0.6363 GB, free: 7.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.751, allocations: 305.1 kB / 0.6366 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/0.7547, allocations: 2.329 MB / 0.6389 GB, free: 4.777 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006789/0.7615, allocations: 6.62 MB / 0.6453 GB, free: 12.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/0.7733, allocations: 9.619 MB / 0.6547 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000152/0.7735, allocations: 44 kB / 0.6548 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.02066/0.7942, allocations: 9.671 MB / 0.6642 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.7943, allocations: 71.94 kB / 0.6643 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001868/0.7945, allocations: 156 kB / 0.6644 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003219/0.7978, allocations: 1.217 MB / 0.6656 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005464/0.8032, allocations: 1.579 MB / 0.6672 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009823/0.8131, allocations: 8.342 MB / 0.6753 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006273/0.8194, allocations: 363.4 kB / 0.6757 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/0.821, allocations: 434.9 kB / 0.6761 GB, free: 11.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],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.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 (848): * Single equations (assignments): 841 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005601/0.8266, allocations: 2.51 MB / 0.6785 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/0.8277, allocations: 461.9 kB / 0.679 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006779/0.8345, allocations: 3.433 MB / 0.6823 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/0.8346, allocations: 23.94 kB / 0.6823 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.8346, allocations: 4 kB / 0.6823 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.8346, allocations: 7.969 kB / 0.6824 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/0.8542, allocations: 8.274 MB / 0.6904 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.8543, allocations: 0 / 0.6904 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.8558, allocations: 303.8 kB / 0.6907 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002739/0.8585, allocations: 0.9809 MB / 0.6917 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/0.8587, allocations: 35.98 kB / 0.6917 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008851/0.8676, allocations: 7.674 MB / 0.6992 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.8676, allocations: 4.094 kB / 0.6992 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.246/1.114, allocations: 5.875 MB / 0.705 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002458/1.116, allocations: 0.5213 MB / 0.7055 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.117, allocations: 31.69 kB / 0.7055 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/1.12, allocations: 95.39 kB / 0.7056 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005035/1.12, allocations: 103.4 kB / 0.7057 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/1.121, allocations: 49.33 kB / 0.7057 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0102/1.131, allocations: 3.617 MB / 0.7093 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.31e-07/1.131, allocations: 0 / 0.7093 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01158/1.142, allocations: 1.187 MB / 0.7104 GB, free: 184.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,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.0007079/1.143, allocations: 159.3 kB / 0.7106 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.155, allocations: 5.609 MB / 0.7161 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.155, allocations: 3.938 kB / 0.7161 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002853/1.158, allocations: 1.619 MB / 0.7176 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007605/1.165, allocations: 0.6202 MB / 0.7182 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02933/1.195, allocations: 10.98 MB / 0.729 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008208/1.203, allocations: 3.846 MB / 0.7327 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008674/1.211, allocations: 2.137 MB / 0.7348 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/1.213, allocations: 298.5 kB / 0.7351 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.633e-06/1.213, allocations: 4 kB / 0.7351 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.1145/1.328, allocations: 39.67 MB / 0.7738 GB, free: 133.9 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches