Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001719/0.001719, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002157/0.002157, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2153/0.2153, allocations: 46.93 MB / 360.9 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 72.08 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 66.03 MB / 0.5606 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01475/0.312, allocations: 12.77 MB / 0.5731 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.3221, allocations: 4.552 MB / 0.5776 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.3244, allocations: 99.5 kB / 0.5777 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007374/0.3318, allocations: 3.773 MB / 0.5813 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006368/0.3381, allocations: 2.249 MB / 0.5835 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.3405, allocations: 0.9904 MB / 0.5845 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008662/0.3491, allocations: 6.058 MB / 0.5904 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00445/0.3536, allocations: 3.518 MB / 0.5939 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003106/0.3567, allocations: 1.986 MB / 0.5958 GB, free: 280 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004229/0.3609, allocations: 2.831 MB / 0.5986 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000906/0.3618, allocations: 408 kB / 0.599 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.3645, allocations: 1.478 MB / 0.6004 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00251/0.367, allocations: 2.509 MB / 0.6028 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003089/0.3701, allocations: 2.773 MB / 0.6056 GB, free: 6.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.3813, allocations: 8.794 MB / 0.6141 GB, free: 13.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3813, allocations: 0 / 0.6141 GB, free: 13.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3813, allocations: 0 / 0.6141 GB, free: 13.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002884/0.3816, allocations: 0 / 0.6141 GB, free: 13.41 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.01875/0.4004, allocations: 6.271 MB / 0.6203 GB, free: 7.078 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.4004, allocations: 16.03 kB / 0.6203 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002074/0.4025, allocations: 0.8265 MB / 0.6211 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03669/0.4392, allocations: 6.063 MB / 0.627 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00973/0.4489, allocations: 4.067 MB / 0.631 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003551/0.4493, allocations: 283.3 kB / 0.6313 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.4506, allocations: 387.7 kB / 0.6316 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02695/0.4776, allocations: 11.48 MB / 0.6428 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.4778, allocations: 55.58 kB / 0.6429 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005512/0.4783, allocations: 183.8 kB / 0.6431 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003688/0.482, allocations: 2.147 MB / 0.6452 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.501, allocations: 9.375 MB / 0.6543 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0654/0.5664, allocations: 45.17 MB / 0.6984 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009793/0.5762, allocations: 3.228 MB / 0.7016 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/0.5789, allocations: 1.861 MB / 0.7034 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.5895, allocations: 5.403 MB / 0.7087 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.5895, allocations: 51.98 kB / 0.7087 GB, free: 10.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 3.987e-06/0.5895, allocations: 0 / 0.7087 GB, free: 10.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04162/0.6311, allocations: 15.61 MB / 0.724 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.6313, allocations: 222.2 kB / 0.7242 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009414/0.6407, allocations: 5.644 MB / 0.7297 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003123/0.641, allocations: 45.7 kB / 0.7297 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003342/0.6443, allocations: 3.905 MB / 0.7335 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.2397/0.884, allocations: 0.6775 MB / 0.7342 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002931/0.887, allocations: 1.345 MB / 0.7355 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.887, allocations: 308.7 kB / 0.7358 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003191/0.8902, allocations: 2.074 MB / 0.7378 GB, free: 154 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004361/0.8945, allocations: 6.312 MB / 0.744 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007074/0.9016, allocations: 9.133 MB / 0.7529 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000178/0.9018, allocations: 46.44 kB / 0.753 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01316/0.915, allocations: 8.618 MB / 0.7614 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.668e-05/0.915, allocations: 70.34 kB / 0.7614 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/0.9152, allocations: 152 kB / 0.7616 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.9167, allocations: 0.7253 MB / 0.7623 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/0.9209, allocations: 1.498 MB / 0.7638 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/0.927, allocations: 6.752 MB / 0.7704 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004975/0.932, allocations: 348.8 kB / 0.7707 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009103/0.9329, allocations: 409.4 kB / 0.7711 GB, free: 126.5 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.003585/0.9365, allocations: 2.463 MB / 0.7735 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008318/0.9373, allocations: 493.1 kB / 0.774 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003948/0.9412, allocations: 2.646 MB / 0.7765 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-05/0.9413, allocations: 20 kB / 0.7766 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.9413, allocations: 4 kB / 0.7766 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.9413, allocations: 7.969 kB / 0.7766 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.9527, allocations: 7.43 MB / 0.7838 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.9528, allocations: 4 kB / 0.7838 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.9539, allocations: 251.6 kB / 0.7841 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.9551, allocations: 0.4995 MB / 0.7846 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/0.9552, allocations: 31.98 kB / 0.7846 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.9605, allocations: 6.076 MB / 0.7905 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9605, allocations: 4 kB / 0.7905 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005558/0.966, allocations: 4.963 MB / 0.7954 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.9673, allocations: 479.7 kB / 0.7958 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008563/0.9681, allocations: 27.94 kB / 0.7959 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.9698, allocations: 75.91 kB / 0.7959 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.97, allocations: 104.7 kB / 0.796 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/0.9701, allocations: 44 kB / 0.7961 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004885/0.975, allocations: 3.613 MB / 0.7996 GB, free: 97.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.975, allocations: 0 / 0.7996 GB, free: 97.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005429/0.9804, allocations: 1.089 MB / 0.8007 GB, free: 96.63 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.005929/0.9864, allocations: 5.602 MB / 0.8061 GB, free: 90.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00664/0.993, allocations: 4.987 MB / 0.811 GB, free: 86.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.993, allocations: 0 / 0.811 GB, free: 86.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.9946, allocations: 1.4 MB / 0.8124 GB, free: 84.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/0.9978, allocations: 0.6279 MB / 0.813 GB, free: 83.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06695/1.065, allocations: 54.05 MB / 0.8658 GB, free: 23.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003449/1.068, allocations: 3.773 MB / 0.8694 GB, free: 19.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003979/1.072, allocations: 2.124 MB / 0.8715 GB, free: 17.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/1.075, allocations: 2.303 MB / 0.8738 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of SimCode: time 1.914e-06/1.075, allocations: 0 / 0.8738 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1615/1.236, allocations: 90.04 MB / 0.9617 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.95/33.19, allocations: 4.062 kB / 0.9617 GB, free: 5.484 MB / 0.6387 GB " [Timeout remaining time 627] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 36.275657462996605]