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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008452/0.0008452, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008589/0.0008589, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8786/0.8786, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2592/0.2592, allocations: 32.78 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.233e-05, allocations: 5.094 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.1929/0.1929, allocations: 11.11 MB / 450.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007203/0.2001, allocations: 4.285 MB / 455 MB, free: 37.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.2025, allocations: 104.5 kB / 455.1 MB, free: 37.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00396/0.2065, allocations: 3.802 MB / 458.9 MB, free: 36.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.2114, allocations: 2.329 MB / 461.2 MB, free: 35.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.213, allocations: 1.093 MB / 462.3 MB, free: 34.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006087/0.2191, allocations: 6.798 MB / 469.1 MB, free: 32.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00365/0.2228, allocations: 4.018 MB / 473.1 MB, free: 30.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005084/0.2279, allocations: 2.996 MB / 476.1 MB, free: 29.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003872/0.2317, allocations: 2.877 MB / 479 MB, free: 28.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.2328, allocations: 420.4 kB / 479.4 MB, free: 28.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.2353, allocations: 1.395 MB / 480.8 MB, free: 28.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00281/0.2381, allocations: 2.63 MB / 483.4 MB, free: 27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005304/0.2435, allocations: 1.638 MB / 485.1 MB, free: 26.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.2585, allocations: 8.887 MB / 494 MB, free: 23.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.2585, allocations: 4 kB / 494 MB, free: 23.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.2585, allocations: 0 / 494 MB, free: 23.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003987/0.2589, allocations: 0 / 494 MB, free: 23.14 MB / 410.7 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.01986/0.2788, allocations: 6.355 MB / 0.4886 GB, free: 18.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.2789, allocations: 8.5 kB / 0.4886 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002906/0.2818, allocations: 0.8249 MB / 0.4894 GB, free: 18.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02255/0.3043, allocations: 6.47 MB / 0.4957 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008291/0.3126, allocations: 3.74 MB / 0.4994 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.3128, allocations: 287.4 kB / 0.4997 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.3144, allocations: 376.2 kB / 0.5 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.3289, allocations: 11.55 MB / 0.5113 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.329, allocations: 63.52 kB / 0.5113 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/0.3294, allocations: 175.8 kB / 0.5115 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002374/0.3318, allocations: 2.151 MB / 0.5136 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01545/0.3472, allocations: 9.358 MB / 0.5228 GB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04834/0.3956, allocations: 43.97 MB / 0.5657 GB, free: 6.887 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006703/0.4023, allocations: 3.375 MB / 0.569 GB, free: 3.477 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/0.4045, allocations: 1.872 MB / 0.5708 GB, free: 1.594 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008646/0.4131, allocations: 5.255 MB / 0.576 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.4131, allocations: 47.98 kB / 0.576 GB, free: 12.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 1.039e-05/0.4132, allocations: 4 kB / 0.576 GB, free: 12.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.0313/0.4445, allocations: 16.39 MB / 0.592 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.4446, allocations: 230.2 kB / 0.5922 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007915/0.4525, allocations: 6.243 MB / 0.5983 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004229/0.4529, allocations: 49.98 kB / 0.5984 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002009/0.4549, allocations: 3.87 MB / 0.6021 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000833/0.4558, allocations: 0.6708 MB / 0.6028 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/0.4572, allocations: 1.326 MB / 0.6041 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.4573, allocations: 305.1 kB / 0.6044 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.4594, allocations: 2.07 MB / 0.6064 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/0.4634, allocations: 6.368 MB / 0.6126 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008744/0.4722, allocations: 9.14 MB / 0.6216 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/0.4723, allocations: 44 kB / 0.6216 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01298/0.4853, allocations: 8.603 MB / 0.63 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/0.4853, allocations: 72 kB / 0.6301 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/0.4854, allocations: 148 kB / 0.6302 GB, free: 296 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2118/0.6972, allocations: 0.7215 MB / 0.6309 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/0.7007, allocations: 1.504 MB / 0.6324 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/0.7061, allocations: 6.802 MB / 0.639 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004906/0.711, allocations: 400.4 kB / 0.6394 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008296/0.7118, allocations: 414.6 kB / 0.6398 GB, free: 146.9 MB / 0.5261 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.003821/0.7156, allocations: 2.466 MB / 0.6422 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000926/0.7165, allocations: 489.8 kB / 0.6427 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/0.7198, allocations: 2.647 MB / 0.6453 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.7198, allocations: 18.84 kB / 0.6453 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/0.7198, allocations: 3.219 kB / 0.6453 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.7198, allocations: 10.06 kB / 0.6453 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.7299, allocations: 7.236 MB / 0.6524 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.7299, allocations: 5.156 kB / 0.6524 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/0.7306, allocations: 254.3 kB / 0.6526 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008415/0.7314, allocations: 0.4981 MB / 0.6531 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-05/0.7315, allocations: 31.81 kB / 0.6531 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/0.7356, allocations: 6.122 MB / 0.6591 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7356, allocations: 11.91 kB / 0.6591 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/0.7407, allocations: 4.955 MB / 0.664 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/0.7422, allocations: 0.5246 MB / 0.6645 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/0.7426, allocations: 33.45 kB / 0.6645 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.7436, allocations: 135.1 kB / 0.6646 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.7439, allocations: 103 kB / 0.6647 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/0.744, allocations: 44.16 kB / 0.6648 GB, free: 136 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006544/0.7505, allocations: 3.891 MB / 0.6686 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7505, allocations: 0 / 0.6686 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008707/0.7592, allocations: 1.269 MB / 0.6698 GB, free: 134.6 MB / 0.5261 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.006282/0.7655, allocations: 5.613 MB / 0.6753 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006643/0.7721, allocations: 4.985 MB / 0.6802 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7721, allocations: 0 / 0.6802 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.7734, allocations: 1.403 MB / 0.6815 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/0.7764, allocations: 0.6396 MB / 0.6822 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05969/0.8361, allocations: 55.07 MB / 0.7359 GB, free: 76.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002738/0.8388, allocations: 3.243 MB / 0.7391 GB, free: 73.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002902/0.8417, allocations: 2.138 MB / 0.7412 GB, free: 71.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/0.8435, allocations: 2.32 MB / 0.7435 GB, free: 69.24 MB / 0.5261 GB Notification: Performance of SimCode: time 1.502e-06/0.8435, allocations: 0 / 0.7435 GB, free: 69.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09763/0.9411, allocations: 87.84 MB / 0.8292 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.26, allocations: 0 / 0.8292 GB, free: 14.34 MB / 0.5573 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.601661106571555]