Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001618/0.001618, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001724/0.001724, allocations: 213.1 kB / 24.54 MB, free: 4.02 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.445/1.445, allocations: 230.3 MB / 258 MB, free: 8.219 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.2318/0.2318, allocations: 46.88 MB / 361.3 MB, free: 4.461 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.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003447/0.003447, allocations: 75.88 kB / 0.4966 GB, free: 8.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3026, allocations: 66.04 MB / 0.5611 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01155/0.3141, allocations: 9.587 MB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006085/0.3202, allocations: 2.963 MB / 0.5733 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.3213, allocations: 55.81 kB / 0.5734 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003966/0.3253, allocations: 2.021 MB / 0.5753 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002852/0.3281, allocations: 1.133 MB / 0.5764 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.3289, allocations: 295.4 kB / 0.5767 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00352/0.3325, allocations: 2.337 MB / 0.579 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.3347, allocations: 1.622 MB / 0.5806 GB, free: 432 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.3361, allocations: 0.8878 MB / 0.5815 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.3379, allocations: 1.254 MB / 0.5827 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004796/0.3384, allocations: 192 kB / 0.5829 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.3398, allocations: 0.7332 MB / 0.5836 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.341, allocations: 1.13 MB / 0.5847 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.3425, allocations: 1.305 MB / 0.586 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005304/0.3478, allocations: 4.338 MB / 0.5902 GB, free: 6.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3478, allocations: 0 / 0.5902 GB, free: 6.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3478, allocations: 0 / 0.5902 GB, free: 6.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.348, allocations: 0 / 0.5902 GB, free: 6.551 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005894/0.3539, allocations: 2.942 MB / 0.5931 GB, free: 3.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3539, allocations: 20.02 kB / 0.5931 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006721/0.3546, allocations: 479.1 kB / 0.5935 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005247/0.3598, allocations: 1.578 MB / 0.5951 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.3631, allocations: 1.336 MB / 0.5964 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.3632, allocations: 151.8 kB / 0.5965 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000409/0.3637, allocations: 183.8 kB / 0.5967 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.3739, allocations: 6.246 MB / 0.6028 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.111e-05/0.374, allocations: 11.88 kB / 0.6028 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.3743, allocations: 91.91 kB / 0.6029 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002161/0.3764, allocations: 1.34 MB / 0.6042 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.3866, allocations: 5.344 MB / 0.6094 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02914/0.4157, allocations: 20.1 MB / 0.6291 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004301/0.42, allocations: 1.94 MB / 0.631 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.4211, allocations: 0.6367 MB / 0.6316 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007474/0.4285, allocations: 3.613 MB / 0.6351 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4286, allocations: 42.94 kB / 0.6351 GB, free: 7.254 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.526e-06/0.4286, allocations: 0 / 0.6351 GB, free: 7.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005839/0.4344, allocations: 1.99 MB / 0.6371 GB, free: 5.258 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.4345, allocations: 59.84 kB / 0.6371 GB, free: 5.188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.4376, allocations: 1.942 MB / 0.639 GB, free: 3.242 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.4377, allocations: 37.69 kB / 0.6391 GB, free: 3.199 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.4393, allocations: 1.907 MB / 0.6409 GB, free: 1.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/0.4397, allocations: 333.5 kB / 0.6413 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009232/0.4406, allocations: 0.6194 MB / 0.6419 GB, free: 320 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.4408, allocations: 353.9 kB / 0.6422 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.4423, allocations: 0.8959 MB / 0.6431 GB, free: 15.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003127/0.4454, allocations: 2.747 MB / 0.6458 GB, free: 11.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005132/0.4505, allocations: 3.97 MB / 0.6496 GB, free: 6.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.042e-05/0.4506, allocations: 16 kB / 0.6496 GB, free: 6.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006305/0.4569, allocations: 3.533 MB / 0.6531 GB, free: 2.934 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/0.457, allocations: 32 kB / 0.6531 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.731e-05/0.457, allocations: 68 kB / 0.6532 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.4572, allocations: 91.94 kB / 0.6533 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.4592, allocations: 0.6595 MB / 0.6539 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001296/0.4593, allocations: 131.5 kB / 0.6541 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.4614, allocations: 432.8 kB / 0.6545 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000345/0.4617, allocations: 188 kB / 0.6546 GB, free: 1.348 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002118/0.4638, allocations: 1.34 MB / 0.656 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.4642, allocations: 166.9 kB / 0.6561 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.4646, allocations: 200.8 kB / 0.6563 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/0.4646, allocations: 15.92 kB / 0.6563 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4646, allocations: 0 / 0.6563 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4647, allocations: 3.938 kB / 0.6563 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007555/0.4722, allocations: 4.025 MB / 0.6603 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.4722, allocations: 8 kB / 0.6603 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.4726, allocations: 99.83 kB / 0.6604 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/0.4727, allocations: 12 kB / 0.6604 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.4727, allocations: 23.98 kB / 0.6604 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.4727, allocations: 8 kB / 0.6604 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/0.4727, allocations: 11.94 kB / 0.6604 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.4745, allocations: 1.274 MB / 0.6617 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005206/0.475, allocations: 251.7 kB / 0.6619 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.4752, allocations: 27.97 kB / 0.6619 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005253/0.4757, allocations: 31.94 kB / 0.662 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4758, allocations: 55.8 kB / 0.662 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.4759, allocations: 32 kB / 0.662 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0021/0.478, allocations: 1.267 MB / 0.6633 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.478, allocations: 0 / 0.6633 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002675/0.4806, allocations: 0.6852 MB / 0.6639 GB, free: 7.543 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002403/0.483, allocations: 1.88 MB / 0.6658 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003384/0.4864, allocations: 1.96 MB / 0.6677 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.4864, allocations: 0 / 0.6677 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.487, allocations: 430.3 kB / 0.6681 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.4888, allocations: 247.7 kB / 0.6683 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03276/0.5216, allocations: 20.95 MB / 0.6888 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/0.5242, allocations: 2.271 MB / 0.691 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002119/0.5264, allocations: 0.9558 MB / 0.6919 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/0.5278, allocations: 1.042 MB / 0.693 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of SimCode: time 1.262e-06/0.5278, allocations: 0 / 0.693 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07119/0.599, allocations: 35.17 MB / 0.7273 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.51, allocations: 6.031 kB / 0.7273 GB, free: 4.094 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_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_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutTorque.torque[3] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.72239289409481]