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.001879/0.001879, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00146/0.00146, allocations: 204.6 kB / 23.72 MB, free: 4.391 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.439/1.439, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2236/0.2236, allocations: 46.95 MB / 360.8 MB, free: 3.941 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.002598/0.002598, allocations: 79.88 kB / 0.4962 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3005, allocations: 66.08 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01146/0.312, allocations: 8.398 MB / 0.5689 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00664/0.3186, allocations: 2.776 MB / 0.5716 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.3199, allocations: 55.81 kB / 0.5717 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00399/0.3239, allocations: 1.939 MB / 0.5736 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003081/0.3269, allocations: 1.144 MB / 0.5747 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008304/0.3278, allocations: 291.5 kB / 0.5749 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003507/0.3313, allocations: 2.326 MB / 0.5772 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.3337, allocations: 1.73 MB / 0.5789 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.3351, allocations: 0.8956 MB / 0.5798 GB, free: 368 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.337, allocations: 1.172 MB / 0.5809 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004541/0.3375, allocations: 196 kB / 0.5811 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.3389, allocations: 0.6123 MB / 0.5817 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.3401, allocations: 1.133 MB / 0.5828 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.3414, allocations: 0.947 MB / 0.5837 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005441/0.3468, allocations: 4.334 MB / 0.588 GB, free: 7.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.3469, allocations: 7.984 kB / 0.588 GB, free: 7.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3469, allocations: 0 / 0.588 GB, free: 7.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.375e-05/0.3469, allocations: 0 / 0.588 GB, free: 7.93 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.005121/0.3521, allocations: 2.862 MB / 0.5908 GB, free: 5.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3521, allocations: 8.031 kB / 0.5908 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006677/0.3528, allocations: 491 kB / 0.5913 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/0.3579, allocations: 1.578 MB / 0.5928 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/0.3612, allocations: 1.282 MB / 0.594 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.3613, allocations: 151.8 kB / 0.5942 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004884/0.3618, allocations: 183.9 kB / 0.5944 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.3729, allocations: 6.25 MB / 0.6005 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/0.3729, allocations: 11.88 kB / 0.6005 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.3732, allocations: 87.91 kB / 0.6006 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002235/0.3754, allocations: 1.34 MB / 0.6019 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.386, allocations: 5.328 MB / 0.6071 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02979/0.4158, allocations: 19.05 MB / 0.6257 GB, free: 380 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/0.4198, allocations: 1.489 MB / 0.6271 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.4208, allocations: 0.6367 MB / 0.6278 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006639/0.4275, allocations: 3.02 MB / 0.6307 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4275, allocations: 39 kB / 0.6307 GB, free: 11.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.885e-06/0.4275, allocations: 0 / 0.6307 GB, free: 11.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005459/0.433, allocations: 1.994 MB / 0.6327 GB, free: 9.121 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.433, allocations: 59.83 kB / 0.6328 GB, free: 9.051 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.4358, allocations: 2.054 MB / 0.6348 GB, free: 6.992 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.4359, allocations: 29.7 kB / 0.6348 GB, free: 6.957 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.4374, allocations: 1.919 MB / 0.6367 GB, free: 5.016 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.4378, allocations: 321.5 kB / 0.637 GB, free: 4.699 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008041/0.4386, allocations: 0.6273 MB / 0.6376 GB, free: 4.062 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4388, allocations: 353.9 kB / 0.6379 GB, free: 3.711 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.4401, allocations: 0.8881 MB / 0.6388 GB, free: 2.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/0.443, allocations: 2.751 MB / 0.6415 GB, free: 15.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/0.4478, allocations: 3.965 MB / 0.6453 GB, free: 10.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.644e-05/0.4478, allocations: 20 kB / 0.6454 GB, free: 10.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005508/0.4533, allocations: 3.535 MB / 0.6488 GB, free: 6.688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.4534, allocations: 35.94 kB / 0.6488 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.898e-05/0.4534, allocations: 68 kB / 0.6489 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.904e-05/0.4535, allocations: 87.94 kB / 0.649 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.4554, allocations: 0.655 MB / 0.6496 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001074/0.4555, allocations: 127.5 kB / 0.6498 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.4572, allocations: 433.4 kB / 0.6502 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/0.4574, allocations: 191.9 kB / 0.6504 GB, free: 5.105 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.001928/0.4593, allocations: 1.343 MB / 0.6517 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.4596, allocations: 162.9 kB / 0.6518 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.4599, allocations: 196.9 kB / 0.652 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.4599, allocations: 11.94 kB / 0.652 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4599, allocations: 4 kB / 0.652 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.46, allocations: 3.984 kB / 0.652 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006637/0.4666, allocations: 3.918 MB / 0.6559 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.4666, allocations: 4 kB / 0.6559 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.467, allocations: 99.83 kB / 0.656 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.467, allocations: 12 kB / 0.656 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.4671, allocations: 23.98 kB / 0.656 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/0.4671, allocations: 12.56 kB / 0.656 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.4671, allocations: 12 kB / 0.656 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.4686, allocations: 1.267 MB / 0.6572 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.469, allocations: 182.6 kB / 0.6574 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.4691, allocations: 15.98 kB / 0.6574 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.4696, allocations: 27.98 kB / 0.6575 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.4697, allocations: 59.73 kB / 0.6575 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.4698, allocations: 39.98 kB / 0.6576 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001745/0.4715, allocations: 1.263 MB / 0.6588 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4715, allocations: 0 / 0.6588 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00231/0.4738, allocations: 0.6968 MB / 0.6595 GB, free: 11.51 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.002079/0.4759, allocations: 1.865 MB / 0.6613 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002992/0.4789, allocations: 1.967 MB / 0.6632 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4789, allocations: 0 / 0.6632 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.4794, allocations: 430.3 kB / 0.6636 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.4806, allocations: 238.9 kB / 0.6639 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/0.51, allocations: 20.95 MB / 0.6843 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002393/0.5123, allocations: 1.704 MB / 0.686 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002145/0.5145, allocations: 0.9597 MB / 0.6869 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/0.5159, allocations: 1.042 MB / 0.6879 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.5159, allocations: 0 / 0.6879 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07165/0.5876, allocations: 32.89 MB / 0.72 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.33, allocations: 13.55 kB / 0.7201 GB, free: 11.11 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.1.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: 16.54020097386092]