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.0009098/0.0009098, allocations: 94.53 kB / 16.98 MB, free: 5.938 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.0008922/0.0008923, allocations: 186.6 kB / 17.88 MB, free: 5.594 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.379/1.379, allocations: 223.2 MB / 241.8 MB, free: 376 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.1956/0.1956, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 9.531 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 61.92 MB / 471.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3518/0.4921, allocations: 62.02 MB / 0.521 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03956/0.5317, allocations: 14.36 MB / 0.535 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02073/0.5525, allocations: 310.9 kB / 0.5353 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01323/0.5658, allocations: 3.134 MB / 0.5383 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03486/0.6007, allocations: 8.992 MB / 0.5471 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006136/0.6068, allocations: 0.7719 MB / 0.5479 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.06768/0.6745, allocations: 48.53 MB / 0.5953 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009204/0.6838, allocations: 5.58 MB / 0.6007 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.6869, allocations: 1.296 MB / 0.602 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003273/0.6902, allocations: 1.702 MB / 0.6036 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.6914, allocations: 172 kB / 0.6038 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.6944, allocations: 1.065 MB / 0.6049 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002038/0.6964, allocations: 2.034 MB / 0.6068 GB, free: 8.988 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.6977, allocations: 1.041 MB / 0.6079 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007298/0.705, allocations: 6.948 MB / 0.6146 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.705, allocations: 0 / 0.6146 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.705, allocations: 0 / 0.6146 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000249/0.7053, allocations: 0 / 0.6146 GB, free: 0.9727 MB / 446.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.01318/0.7185, allocations: 5.432 MB / 0.6199 GB, free: 11.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.7185, allocations: 8.562 kB / 0.62 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0418/0.7603, allocations: 8.032 MB / 0.6278 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.7709, allocations: 3.845 MB / 0.6316 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.7712, allocations: 283.3 kB / 0.6318 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/0.7727, allocations: 387.7 kB / 0.6322 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02405/0.7968, allocations: 11.95 MB / 0.6439 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002052/0.7971, allocations: 55.44 kB / 0.6439 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000621/0.7977, allocations: 183.8 kB / 0.6441 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004218/0.8019, allocations: 2.268 MB / 0.6463 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02336/0.8253, allocations: 9.791 MB / 0.6559 GB, free: 5.734 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06833/0.8937, allocations: 46.47 MB / 0.7013 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.9038, allocations: 3.813 MB / 0.705 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2605/1.164, allocations: 5.718 MB / 0.7106 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.164, allocations: 51.44 kB / 0.7106 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.909e-06/1.164, allocations: 0 / 0.7106 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04092/1.205, allocations: 16 MB / 0.7262 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/1.205, allocations: 223.5 kB / 0.7264 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007129/1.213, allocations: 5.909 MB / 0.7322 GB, free: 179 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000316/1.213, allocations: 50.67 kB / 0.7323 GB, free: 179 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002073/1.215, allocations: 3.848 MB / 0.736 GB, free: 176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006875/1.216, allocations: 0.6555 MB / 0.7367 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/1.216, allocations: 131.2 kB / 0.7368 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002562/1.216, allocations: 0.5827 MB / 0.7374 GB, free: 175 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/1.219, allocations: 2.059 MB / 0.7394 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004141/1.223, allocations: 6.31 MB / 0.7455 GB, free: 168 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004479/1.228, allocations: 3.535 MB / 0.749 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/1.228, allocations: 44 kB / 0.749 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.01667/1.244, allocations: 8.596 MB / 0.7574 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/1.245, allocations: 72 kB / 0.7575 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002111/1.245, allocations: 152 kB / 0.7576 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/1.247, allocations: 0.7429 MB / 0.7584 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004552/1.251, allocations: 1.513 MB / 0.7598 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006022/1.257, allocations: 6.555 MB / 0.7662 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005932/1.263, allocations: 346.7 kB / 0.7666 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/1.264, allocations: 416 kB / 0.767 GB, free: 147.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 (804): * Single equations (assignments): 797 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00383/1.268, allocations: 2.516 MB / 0.7694 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.269, allocations: 465.9 kB / 0.7699 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003764/1.273, allocations: 2.648 MB / 0.7725 GB, free: 142 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/1.273, allocations: 24 kB / 0.7725 GB, free: 142 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.273, allocations: 7.609 kB / 0.7725 GB, free: 142 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.273, allocations: 11.97 kB / 0.7725 GB, free: 142 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/1.285, allocations: 7.606 MB / 0.7799 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.285, allocations: 4 kB / 0.7799 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/1.286, allocations: 255.6 kB / 0.7802 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/1.287, allocations: 0.4992 MB / 0.7807 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.646e-05/1.287, allocations: 28 kB / 0.7807 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005094/1.292, allocations: 5.887 MB / 0.7864 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.292, allocations: 4 kB / 0.7864 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/1.298, allocations: 5.426 MB / 0.7917 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/1.3, allocations: 0.5418 MB / 0.7923 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005292/1.3, allocations: 31.98 kB / 0.7923 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/1.302, allocations: 71.88 kB / 0.7924 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/1.302, allocations: 105.1 kB / 0.7925 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-05/1.302, allocations: 44.47 kB / 0.7925 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005038/1.307, allocations: 3.814 MB / 0.7962 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.4e-07/1.307, allocations: 0 / 0.7962 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006091/1.313, allocations: 1.145 MB / 0.7973 GB, free: 116.1 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.0004896/1.314, allocations: 178.9 kB / 0.7975 GB, free: 116 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007521/1.321, allocations: 5.102 MB / 0.8025 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.321, allocations: 0 / 0.8025 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.323, allocations: 1.487 MB / 0.804 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/1.326, allocations: 0.6038 MB / 0.8045 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.342, allocations: 12.58 MB / 0.8168 GB, free: 96.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/1.345, allocations: 3.966 MB / 0.8207 GB, free: 92.14 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004613/1.35, allocations: 2.144 MB / 0.8228 GB, free: 89.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007441/1.351, allocations: 295.4 kB / 0.8231 GB, free: 89.7 MB / 0.5294 GB Notification: Performance of SimCode: time 9.31e-07/1.351, allocations: 0 / 0.8231 GB, free: 89.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.07368/1.424, allocations: 41.32 MB / 0.8634 GB, free: 48.66 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches