Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_3.2.3_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.0009689/0.0009689, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009182/0.0009183, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3727/0.3727, allocations: 43.53 MB / 314.5 MB, free: 8.785 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005449/0.0005453, allocations: 16 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1406, allocations: 58.86 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.248/0.3886, allocations: 62.71 MB / 0.4936 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03483/0.4235, allocations: 14.45 MB / 0.5077 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02111/0.4447, allocations: 311.6 kB / 0.508 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01367/0.4584, allocations: 3.145 MB / 0.5111 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03725/0.4957, allocations: 9.062 MB / 0.5199 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005605/0.5013, allocations: 0.7795 MB / 0.5207 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04217/0.5435, allocations: 26.88 MB / 0.547 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01052/0.5541, allocations: 5.454 MB / 0.5523 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004065/0.5582, allocations: 1.374 MB / 0.5536 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.5622, allocations: 1.819 MB / 0.5554 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001637/0.5639, allocations: 184 kB / 0.5556 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.5677, allocations: 1.069 MB / 0.5566 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003568/0.5713, allocations: 2.139 MB / 0.5587 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002581/0.5739, allocations: 1.088 MB / 0.5598 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.5846, allocations: 7.322 MB / 0.5669 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.5846, allocations: 4 kB / 0.5669 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5846, allocations: 0 / 0.5669 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004259/0.5851, allocations: 0 / 0.5669 GB, free: 0.8516 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01637/0.6014, allocations: 5.633 MB / 0.5724 GB, free: 11.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.6015, allocations: 16.56 kB / 0.5724 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04329/0.6448, allocations: 8.082 MB / 0.5803 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.6565, allocations: 4.242 MB / 0.5845 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.6569, allocations: 303.6 kB / 0.5848 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002033/0.6589, allocations: 407.3 kB / 0.5852 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02898/0.6879, allocations: 12.58 MB / 0.5974 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002898/0.6883, allocations: 63.45 kB / 0.5975 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00178/0.69, allocations: 187.8 kB / 0.5977 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00443/0.6945, allocations: 2.405 MB / 0.6 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02478/0.7193, allocations: 10.38 MB / 0.6102 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3168/1.036, allocations: 48.55 MB / 0.6576 GB, free: 109.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009798/1.046, allocations: 4.675 MB / 0.6621 GB, free: 108.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/1.056, allocations: 6.974 MB / 0.669 GB, free: 105.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/1.056, allocations: 53.78 kB / 0.669 GB, free: 105.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 3.717e-06/1.056, allocations: 0 / 0.669 GB, free: 105.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.04669/1.103, allocations: 16.46 MB / 0.6851 GB, free: 99.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/1.103, allocations: 199.5 kB / 0.6853 GB, free: 98.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/1.114, allocations: 6.071 MB / 0.6912 GB, free: 96.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005169/1.115, allocations: 52.08 kB / 0.6913 GB, free: 96.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003068/1.118, allocations: 3.999 MB / 0.6952 GB, free: 93.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/1.119, allocations: 0.771 MB / 0.6959 GB, free: 93.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/1.119, allocations: 136.9 kB / 0.696 GB, free: 92.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003756/1.119, allocations: 0.6091 MB / 0.6966 GB, free: 92.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003488/1.123, allocations: 2.359 MB / 0.6989 GB, free: 91.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004903/1.128, allocations: 6.746 MB / 0.7055 GB, free: 85.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004573/1.132, allocations: 3.905 MB / 0.7093 GB, free: 83.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.196e-05/1.133, allocations: 43.53 kB / 0.7094 GB, free: 83.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01307/1.146, allocations: 9.354 MB / 0.7185 GB, free: 79.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.103e-05/1.146, allocations: 72.53 kB / 0.7186 GB, free: 79.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001497/1.146, allocations: 155.3 kB / 0.7187 GB, free: 79.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/1.147, allocations: 0.7345 MB / 0.7195 GB, free: 79.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/1.152, allocations: 1.649 MB / 0.7211 GB, free: 77.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005899/1.158, allocations: 6.46 MB / 0.7274 GB, free: 71.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006455/1.164, allocations: 387.4 kB / 0.7277 GB, free: 70.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008738/1.165, allocations: 439.3 kB / 0.7282 GB, free: 70.26 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (866): * Single equations (assignments): 859 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004545/1.17, allocations: 2.619 MB / 0.7307 GB, free: 67.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.171, allocations: 493.6 kB / 0.7312 GB, free: 67.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005076/1.176, allocations: 3.23 MB / 0.7343 GB, free: 63.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/1.176, allocations: 23.95 kB / 0.7344 GB, free: 63.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/1.176, allocations: 4 kB / 0.7344 GB, free: 63.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.176, allocations: 7.969 kB / 0.7344 GB, free: 63.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/1.19, allocations: 8.582 MB / 0.7428 GB, free: 55.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.19, allocations: 0 / 0.7428 GB, free: 55.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.192, allocations: 359.7 kB / 0.7431 GB, free: 54.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/1.193, allocations: 490.3 kB / 0.7436 GB, free: 54.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.193, allocations: 35.98 kB / 0.7436 GB, free: 54.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004909/1.198, allocations: 5.812 MB / 0.7493 GB, free: 48.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.198, allocations: 7.938 kB / 0.7493 GB, free: 48.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007013/1.205, allocations: 6.272 MB / 0.7554 GB, free: 41.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002665/1.208, allocations: 0.8304 MB / 0.7562 GB, free: 40.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006537/1.208, allocations: 32 kB / 0.7562 GB, free: 40.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/1.21, allocations: 99.88 kB / 0.7563 GB, free: 40.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/1.21, allocations: 117 kB / 0.7565 GB, free: 40.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.21, allocations: 50.19 kB / 0.7565 GB, free: 40.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005797/1.216, allocations: 3.927 MB / 0.7603 GB, free: 36.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/1.216, allocations: 0 / 0.7603 GB, free: 36.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008197/1.224, allocations: 1.229 MB / 0.7615 GB, free: 35.54 MB / 494.1 MB 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 (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0005089/1.225, allocations: 185.1 kB / 0.7617 GB, free: 35.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008701/1.233, allocations: 5.768 MB / 0.7673 GB, free: 29.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.233, allocations: 0 / 0.7673 GB, free: 29.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001931/1.235, allocations: 1.743 MB / 0.7691 GB, free: 27.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/1.239, allocations: 0.6067 MB / 0.7696 GB, free: 27.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/1.257, allocations: 13.46 MB / 0.7828 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/1.261, allocations: 4.137 MB / 0.7868 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005123/1.266, allocations: 2.295 MB / 0.7891 GB, free: 7.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008284/1.267, allocations: 319.4 kB / 0.7894 GB, free: 6.941 MB / 494.1 MB Notification: Performance of SimCode: time 1.874e-06/1.267, allocations: 0 / 0.7894 GB, free: 6.941 MB / 494.1 MB Notification: Performance of Templates: time 0.322/1.589, allocations: 44.56 MB / 0.8329 GB, free: 154 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches