Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.00171/0.00171, allocations: 107.9 kB / 20.48 MB, free: 1.125 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.001726/0.001726, allocations: 210.1 kB / 23.77 MB, free: 4.332 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.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.2288/0.2288, allocations: 46.95 MB / 360.8 MB, free: 3.883 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.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 79.88 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.305, allocations: 66.09 MB / 0.5607 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01103/0.316, allocations: 8.402 MB / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00642/0.3224, allocations: 2.78 MB / 0.5717 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.324, allocations: 59.81 kB / 0.5717 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004312/0.3283, allocations: 1.935 MB / 0.5736 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.3316, allocations: 1.136 MB / 0.5747 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000868/0.3325, allocations: 287.5 kB / 0.575 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003723/0.3362, allocations: 2.333 MB / 0.5773 GB, free: 3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.3393, allocations: 1.738 MB / 0.579 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.3411, allocations: 0.8917 MB / 0.5798 GB, free: 328 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.3433, allocations: 1.168 MB / 0.581 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007635/0.3441, allocations: 196 kB / 0.5812 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.3458, allocations: 0.6083 MB / 0.5818 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.3475, allocations: 1.137 MB / 0.5829 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002098/0.3496, allocations: 0.9471 MB / 0.5838 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007012/0.3566, allocations: 4.342 MB / 0.588 GB, free: 7.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.3566, allocations: 0 / 0.588 GB, free: 7.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3567, allocations: 0 / 0.588 GB, free: 7.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001916/0.3568, allocations: 4 kB / 0.588 GB, free: 7.891 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.007182/0.364, allocations: 2.866 MB / 0.5908 GB, free: 4.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.3e-05/0.3641, allocations: 8.031 kB / 0.5909 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001233/0.3653, allocations: 479.1 kB / 0.5913 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005594/0.3709, allocations: 1.594 MB / 0.5929 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.3742, allocations: 1.29 MB / 0.5941 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.3743, allocations: 143.8 kB / 0.5943 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005467/0.3749, allocations: 187.9 kB / 0.5944 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.3854, allocations: 6.258 MB / 0.6006 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/0.3854, allocations: 15.88 kB / 0.6006 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/0.3858, allocations: 83.91 kB / 0.6006 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002203/0.388, allocations: 1.34 MB / 0.602 GB, free: 9.281 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00982/0.3978, allocations: 5.342 MB / 0.6072 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03048/0.4283, allocations: 19.15 MB / 0.6259 GB, free: 200 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00414/0.4324, allocations: 1.579 MB / 0.6274 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009869/0.4334, allocations: 0.6367 MB / 0.628 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006722/0.4401, allocations: 3.117 MB / 0.6311 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4402, allocations: 42.94 kB / 0.6311 GB, free: 10.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.085e-06/0.4402, allocations: 0 / 0.6311 GB, free: 10.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005474/0.4456, allocations: 2.123 MB / 0.6332 GB, free: 8.629 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.4457, allocations: 59.78 kB / 0.6333 GB, free: 8.559 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.4483, allocations: 2.054 MB / 0.6353 GB, free: 6.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.4483, allocations: 37.69 kB / 0.6353 GB, free: 6.457 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.4497, allocations: 1.907 MB / 0.6372 GB, free: 4.527 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/0.45, allocations: 333.5 kB / 0.6375 GB, free: 4.199 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007629/0.4508, allocations: 0.6195 MB / 0.6381 GB, free: 3.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.451, allocations: 357.9 kB / 0.6384 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.4522, allocations: 0.8842 MB / 0.6393 GB, free: 2.328 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002859/0.4551, allocations: 2.751 MB / 0.642 GB, free: 14.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004792/0.4599, allocations: 3.966 MB / 0.6458 GB, free: 9.754 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.334e-05/0.4599, allocations: 20 kB / 0.6459 GB, free: 9.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006913/0.4669, allocations: 3.537 MB / 0.6493 GB, free: 6.188 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.554e-05/0.4669, allocations: 33.72 kB / 0.6494 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.588e-05/0.467, allocations: 68 kB / 0.6494 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.645e-05/0.4671, allocations: 87.94 kB / 0.6495 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.4691, allocations: 0.6596 MB / 0.6501 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001177/0.4692, allocations: 135.5 kB / 0.6503 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.471, allocations: 420.9 kB / 0.6507 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.4713, allocations: 184 kB / 0.6509 GB, free: 4.617 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.00195/0.4732, allocations: 1.342 MB / 0.6522 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.4735, allocations: 162.9 kB / 0.6523 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.4739, allocations: 204.9 kB / 0.6525 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.4739, allocations: 11.94 kB / 0.6525 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4739, allocations: 0 / 0.6525 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4739, allocations: 7.922 kB / 0.6525 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006616/0.4805, allocations: 3.942 MB / 0.6564 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.4805, allocations: 4 kB / 0.6564 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.481, allocations: 103.8 kB / 0.6565 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.481, allocations: 8.812 kB / 0.6565 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.481, allocations: 19.98 kB / 0.6565 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/0.481, allocations: 19.88 kB / 0.6565 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.481, allocations: 8 kB / 0.6565 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.4827, allocations: 1.267 MB / 0.6578 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/0.4831, allocations: 182.6 kB / 0.6579 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.4832, allocations: 19.98 kB / 0.658 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.4837, allocations: 31.97 kB / 0.658 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.4838, allocations: 59.8 kB / 0.6581 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/0.4839, allocations: 28 kB / 0.6581 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001848/0.4857, allocations: 1.271 MB / 0.6593 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4857, allocations: 0 / 0.6593 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002391/0.4881, allocations: 0.693 MB / 0.66 GB, free: 11 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.002162/0.4903, allocations: 1.869 MB / 0.6618 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003232/0.4935, allocations: 1.963 MB / 0.6637 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.4935, allocations: 0 / 0.6637 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006028/0.4941, allocations: 434.9 kB / 0.6642 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.4954, allocations: 236.2 kB / 0.6644 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0305/0.5259, allocations: 20.95 MB / 0.6848 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002431/0.5283, allocations: 1.697 MB / 0.6865 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002165/0.5305, allocations: 0.9597 MB / 0.6874 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/0.5321, allocations: 1.042 MB / 0.6885 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of SimCode: time 1.292e-06/0.5321, allocations: 0 / 0.6885 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07091/0.603, allocations: 32.91 MB / 0.7206 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.51, allocations: 11.94 kB / 0.7206 GB, free: 10.57 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_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_CutTorque2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.86877655200078]