Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001631/0.001631, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001981/0.001981, allocations: 214.3 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.92 MB / 360.8 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 75.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3093, allocations: 66.09 MB / 0.5608 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01506/0.3243, allocations: 12.75 MB / 0.5732 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009505/0.3338, allocations: 4.548 MB / 0.5776 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.336, allocations: 99.5 kB / 0.5777 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007248/0.3432, allocations: 3.773 MB / 0.5814 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.3492, allocations: 2.253 MB / 0.5836 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.3519, allocations: 0.9982 MB / 0.5846 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009333/0.3612, allocations: 6.058 MB / 0.5905 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004821/0.366, allocations: 3.514 MB / 0.5939 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.3694, allocations: 1.986 MB / 0.5959 GB, free: 152 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004531/0.3739, allocations: 2.835 MB / 0.5987 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001174/0.3751, allocations: 408 kB / 0.599 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.378, allocations: 1.482 MB / 0.6005 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002784/0.3808, allocations: 2.509 MB / 0.6029 GB, free: 8.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003257/0.3841, allocations: 2.769 MB / 0.6056 GB, free: 6.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.3947, allocations: 8.79 MB / 0.6142 GB, free: 13.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.3947, allocations: 4 kB / 0.6142 GB, free: 13.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3947, allocations: 0 / 0.6142 GB, free: 13.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002837/0.395, allocations: 0 / 0.6142 GB, free: 13.29 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01551/0.4105, allocations: 6.283 MB / 0.6204 GB, free: 6.941 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4105, allocations: 8.031 kB / 0.6204 GB, free: 6.934 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001579/0.4121, allocations: 0.8189 MB / 0.6212 GB, free: 6.105 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03729/0.4494, allocations: 6.063 MB / 0.6271 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.4595, allocations: 4.079 MB / 0.6311 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.4597, allocations: 283.3 kB / 0.6313 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/0.4609, allocations: 375.8 kB / 0.6317 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/0.4824, allocations: 11.48 MB / 0.6429 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/0.4826, allocations: 55.52 kB / 0.643 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007321/0.4833, allocations: 187.8 kB / 0.6431 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003633/0.4869, allocations: 2.147 MB / 0.6452 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01868/0.5056, allocations: 9.363 MB / 0.6544 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05903/0.5646, allocations: 45.18 MB / 0.6985 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009908/0.5746, allocations: 3.217 MB / 0.7016 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00277/0.5773, allocations: 1.865 MB / 0.7035 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.5878, allocations: 5.407 MB / 0.7087 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/0.5879, allocations: 51.98 kB / 0.7088 GB, free: 10.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 4.088e-06/0.5879, allocations: 0 / 0.7088 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04202/0.6299, allocations: 15.61 MB / 0.724 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.63, allocations: 226.3 kB / 0.7243 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009191/0.6392, allocations: 5.636 MB / 0.7298 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003636/0.6396, allocations: 45.7 kB / 0.7298 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003485/0.6431, allocations: 3.905 MB / 0.7336 GB, free: 452 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.2644/0.9075, allocations: 0.682 MB / 0.7343 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003758/0.9113, allocations: 1.345 MB / 0.7356 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.9113, allocations: 312 kB / 0.7359 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003814/0.9151, allocations: 2.074 MB / 0.7379 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005384/0.9205, allocations: 6.316 MB / 0.7441 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008177/0.9287, allocations: 9.137 MB / 0.753 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001873/0.9289, allocations: 41.38 kB / 0.7531 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01439/0.9433, allocations: 8.617 MB / 0.7615 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.63e-05/0.9434, allocations: 68 kB / 0.7615 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/0.9435, allocations: 155.9 kB / 0.7617 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/0.9451, allocations: 0.7196 MB / 0.7624 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004364/0.9494, allocations: 1.506 MB / 0.7639 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/0.9557, allocations: 6.751 MB / 0.7704 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004962/0.9606, allocations: 346.2 kB / 0.7708 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008735/0.9615, allocations: 410.7 kB / 0.7712 GB, free: 126.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.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 (798): * Single equations (assignments): 791 * 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,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003605/0.9651, allocations: 2.463 MB / 0.7736 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000877/0.966, allocations: 485.6 kB / 0.774 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00397/0.97, allocations: 2.655 MB / 0.7766 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/0.97, allocations: 20 kB / 0.7766 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.97, allocations: 4 kB / 0.7767 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.97, allocations: 3.984 kB / 0.7767 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.9832, allocations: 7.426 MB / 0.7839 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.9832, allocations: 7.984 kB / 0.7839 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.9844, allocations: 255.9 kB / 0.7842 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.9857, allocations: 0.4911 MB / 0.7846 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.9859, allocations: 32 kB / 0.7847 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00577/0.9917, allocations: 6.083 MB / 0.7906 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9917, allocations: 3.938 kB / 0.7906 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006235/0.998, allocations: 4.96 MB / 0.7955 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.9993, allocations: 473 kB / 0.7959 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1, allocations: 35.92 kB / 0.7959 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/1.003, allocations: 67.92 kB / 0.796 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/1.003, allocations: 108.5 kB / 0.7961 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.003, allocations: 47.98 kB / 0.7962 GB, free: 101 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00616/1.009, allocations: 3.619 MB / 0.7997 GB, free: 97.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.009, allocations: 0 / 0.7997 GB, free: 97.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006703/1.016, allocations: 1.083 MB / 0.8007 GB, free: 96.37 MB / 0.5606 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 (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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007162/1.023, allocations: 5.602 MB / 0.8062 GB, free: 90.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007686/1.031, allocations: 4.988 MB / 0.8111 GB, free: 85.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.031, allocations: 0 / 0.8111 GB, free: 85.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/1.033, allocations: 1.409 MB / 0.8125 GB, free: 84.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004975/1.038, allocations: 0.6214 MB / 0.8131 GB, free: 83.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07711/1.115, allocations: 54.05 MB / 0.8659 GB, free: 22.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00531/1.12, allocations: 3.765 MB / 0.8695 GB, free: 19.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005002/1.125, allocations: 2.128 MB / 0.8716 GB, free: 17.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003302/1.128, allocations: 2.303 MB / 0.8739 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of SimCode: time 2.174e-06/1.128, allocations: 0 / 0.8739 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1717/1.3, allocations: 90.01 MB / 0.9618 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.96/33.26, allocations: 6.078 kB / 0.9618 GB, free: 5.145 MB / 0.6387 GB " [Timeout remaining time 627] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 36.36310769600095]