Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,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.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,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.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008219/0.0008221, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.0009128/0.0009128, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.489/1.489, allocations: 223.3 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2338/0.2338, allocations: 44.25 MB / 337.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003803, allocations: 11.98 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 61.93 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3755/0.5276, allocations: 65.66 MB / 0.5247 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0389/0.5665, allocations: 13.74 MB / 0.5381 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02176/0.5883, allocations: 313.3 kB / 0.5384 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01434/0.6027, allocations: 3.468 MB / 0.5418 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03773/0.6405, allocations: 10.21 MB / 0.5517 GB, free: 80 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006087/0.6466, allocations: 0.7876 MB / 0.5525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08497/0.7316, allocations: 61.94 MB / 0.613 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.7418, allocations: 5.625 MB / 0.6185 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003984/0.7458, allocations: 1.611 MB / 0.6201 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004892/0.7507, allocations: 2.457 MB / 0.6225 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001281/0.752, allocations: 172 kB / 0.6226 GB, free: 9.855 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0048/0.7568, allocations: 1.1 MB / 0.6237 GB, free: 8.754 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004054/0.7609, allocations: 2.19 MB / 0.6258 GB, free: 6.559 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.7628, allocations: 1.03 MB / 0.6268 GB, free: 5.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009457/0.7723, allocations: 6.831 MB / 0.6335 GB, free: 14.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/0.7723, allocations: 4 kB / 0.6335 GB, free: 14.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.7723, allocations: 0 / 0.6335 GB, free: 14.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000324/0.7727, allocations: 0 / 0.6335 GB, free: 14.67 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01227/0.7849, allocations: 5.132 MB / 0.6385 GB, free: 9.465 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.785, allocations: 12.56 kB / 0.6385 GB, free: 9.453 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.7954, allocations: 2.652 MB / 0.6411 GB, free: 6.789 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008295/0.8038, allocations: 3.696 MB / 0.6447 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.804, allocations: 287.3 kB / 0.645 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008158/0.8048, allocations: 391.6 kB / 0.6454 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02047/0.8253, allocations: 11.97 MB / 0.6571 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.8255, allocations: 59.53 kB / 0.6571 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004452/0.8259, allocations: 179.8 kB / 0.6573 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003439/0.8294, allocations: 2.272 MB / 0.6595 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.8484, allocations: 9.908 MB / 0.6692 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3389/1.187, allocations: 46.81 MB / 0.7149 GB, free: 164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/1.198, allocations: 3.908 MB / 0.7187 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/1.201, allocations: 2.134 MB / 0.7208 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/1.212, allocations: 5.897 MB / 0.7266 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/1.212, allocations: 56.5 kB / 0.7266 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.658e-06/1.212, allocations: 0 / 0.7266 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.03974/1.252, allocations: 17.45 MB / 0.7437 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/1.252, allocations: 227.3 kB / 0.7439 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006853/1.259, allocations: 5.642 MB / 0.7494 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000443/1.259, allocations: 49.92 kB / 0.7495 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002601/1.262, allocations: 3.797 MB / 0.7532 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006084/1.262, allocations: 0.6654 MB / 0.7538 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/1.263, allocations: 136 kB / 0.7539 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002612/1.263, allocations: 0.5994 MB / 0.7545 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/1.266, allocations: 2.266 MB / 0.7567 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004028/1.27, allocations: 6.576 MB / 0.7632 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/1.274, allocations: 3.772 MB / 0.7668 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.567e-05/1.274, allocations: 44 kB / 0.7669 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01342/1.287, allocations: 9.582 MB / 0.7762 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/1.287, allocations: 68 kB / 0.7763 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/1.287, allocations: 152 kB / 0.7765 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/1.29, allocations: 1.259 MB / 0.7777 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003866/1.294, allocations: 1.567 MB / 0.7792 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007531/1.301, allocations: 7.907 MB / 0.7869 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006337/1.308, allocations: 363.5 kB / 0.7873 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009097/1.309, allocations: 425.3 kB / 0.7877 GB, free: 110.7 MB / 0.5294 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 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (842): * Single equations (assignments): 835 * 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 {(2,100.0%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003996/1.313, allocations: 2.524 MB / 0.7902 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008594/1.314, allocations: 454.1 kB / 0.7906 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00525/1.319, allocations: 3.392 MB / 0.7939 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/1.319, allocations: 16 kB / 0.7939 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/1.319, allocations: 11.98 kB / 0.7939 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/1.319, allocations: 3.984 kB / 0.7939 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/1.334, allocations: 8.315 MB / 0.8021 GB, free: 95.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.334, allocations: 288 / 0.8021 GB, free: 95.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/1.336, allocations: 259.6 kB / 0.8023 GB, free: 95.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002506/1.338, allocations: 1.003 MB / 0.8033 GB, free: 94.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/1.338, allocations: 31.98 kB / 0.8033 GB, free: 94.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007159/1.345, allocations: 7.226 MB / 0.8104 GB, free: 87.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.346, allocations: 5.5 kB / 0.8104 GB, free: 87.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007545/1.353, allocations: 5.849 MB / 0.8161 GB, free: 81.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.355, allocations: 0.5302 MB / 0.8166 GB, free: 80.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000573/1.356, allocations: 28.7 kB / 0.8166 GB, free: 80.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.357, allocations: 101 kB / 0.8167 GB, free: 80.55 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/1.357, allocations: 100.8 kB / 0.8168 GB, free: 80.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.357, allocations: 43.98 kB / 0.8169 GB, free: 80.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005362/1.363, allocations: 3.601 MB / 0.8204 GB, free: 76.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.41e-07/1.363, allocations: 0 / 0.8204 GB, free: 76.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007353/1.37, allocations: 1.179 MB / 0.8215 GB, free: 75.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005521/1.371, allocations: 165.9 kB / 0.8217 GB, free: 75.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008287/1.379, allocations: 5.531 MB / 0.8271 GB, free: 69.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.379, allocations: 4 kB / 0.8271 GB, free: 69.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/1.381, allocations: 1.614 MB / 0.8287 GB, free: 68.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004001/1.385, allocations: 0.5779 MB / 0.8292 GB, free: 67.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/1.404, allocations: 12.9 MB / 0.8418 GB, free: 54.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/1.407, allocations: 3.865 MB / 0.8456 GB, free: 50.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004697/1.412, allocations: 2.132 MB / 0.8477 GB, free: 48.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007237/1.413, allocations: 291.4 kB / 0.848 GB, free: 48.46 MB / 0.5294 GB Notification: Performance of SimCode: time 1.353e-06/1.413, allocations: 0 / 0.848 GB, free: 48.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.06813/1.481, allocations: 42.4 MB / 0.8894 GB, free: 6.281 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches