Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001921/0.001921, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001672/0.001672, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.233/0.233, allocations: 46.97 MB / 360.9 MB, free: 4.113 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.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002983/0.002983, allocations: 63.91 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3589, allocations: 66.03 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01161/0.3705, allocations: 8.412 MB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006606/0.3771, allocations: 2.776 MB / 0.5715 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.3782, allocations: 59.81 kB / 0.5716 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.3822, allocations: 1.931 MB / 0.5735 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.385, allocations: 1.14 MB / 0.5746 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.3857, allocations: 299.4 kB / 0.5749 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.3887, allocations: 2.321 MB / 0.5771 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.3907, allocations: 1.734 MB / 0.5788 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.3919, allocations: 0.8879 MB / 0.5797 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.3934, allocations: 1.176 MB / 0.5808 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003277/0.3938, allocations: 192 kB / 0.581 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.3949, allocations: 0.6084 MB / 0.5816 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.396, allocations: 1.137 MB / 0.5827 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.3971, allocations: 0.9432 MB / 0.5836 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005137/0.4022, allocations: 4.346 MB / 0.5879 GB, free: 8.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4022, allocations: 0 / 0.5879 GB, free: 8.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4022, allocations: 0 / 0.5879 GB, free: 8.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.713e-05/0.4023, allocations: 0 / 0.5879 GB, free: 8.109 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.005575/0.4079, allocations: 2.866 MB / 0.5907 GB, free: 5.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.408, allocations: 8.031 kB / 0.5907 GB, free: 5.191 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006129/0.4086, allocations: 487.1 kB / 0.5912 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005101/0.4137, allocations: 1.586 MB / 0.5927 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.4166, allocations: 1.279 MB / 0.594 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.4167, allocations: 151.7 kB / 0.5941 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.4171, allocations: 183.9 kB / 0.5943 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.4273, allocations: 6.246 MB / 0.6004 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.4274, allocations: 11.88 kB / 0.6004 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/0.4276, allocations: 95.89 kB / 0.6005 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002197/0.4298, allocations: 1.344 MB / 0.6018 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.4399, allocations: 5.322 MB / 0.607 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02787/0.4678, allocations: 19.05 MB / 0.6256 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/0.4717, allocations: 1.488 MB / 0.627 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009592/0.4727, allocations: 0.6367 MB / 0.6277 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006784/0.4795, allocations: 3.028 MB / 0.6306 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.4796, allocations: 42.94 kB / 0.6307 GB, free: 11.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.717e-06/0.4796, allocations: 0 / 0.6307 GB, free: 11.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005546/0.4852, allocations: 1.994 MB / 0.6326 GB, free: 9.293 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.4852, allocations: 55.84 kB / 0.6327 GB, free: 9.227 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/0.4882, allocations: 2.05 MB / 0.6347 GB, free: 7.172 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/0.4882, allocations: 33.7 kB / 0.6347 GB, free: 7.133 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.4899, allocations: 1.919 MB / 0.6366 GB, free: 5.191 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.4903, allocations: 325.5 kB / 0.6369 GB, free: 4.871 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008831/0.4912, allocations: 0.6195 MB / 0.6375 GB, free: 4.242 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.4914, allocations: 353.9 kB / 0.6378 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.4928, allocations: 0.8881 MB / 0.6387 GB, free: 3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/0.496, allocations: 2.755 MB / 0.6414 GB, free: 15.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/0.5013, allocations: 3.966 MB / 0.6453 GB, free: 10.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.641e-05/0.5014, allocations: 20 kB / 0.6453 GB, free: 10.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006456/0.5079, allocations: 3.534 MB / 0.6487 GB, free: 6.863 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.5079, allocations: 36.03 kB / 0.6488 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.472e-05/0.508, allocations: 68 kB / 0.6488 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.786e-05/0.5081, allocations: 87.94 kB / 0.6489 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/0.5101, allocations: 0.6628 MB / 0.6496 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001241/0.5102, allocations: 123.5 kB / 0.6497 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.5124, allocations: 424.8 kB / 0.6501 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/0.5127, allocations: 192 kB / 0.6503 GB, free: 5.285 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.002293/0.515, allocations: 1.342 MB / 0.6516 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/0.5154, allocations: 162.9 kB / 0.6517 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.5158, allocations: 200.9 kB / 0.6519 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/0.5158, allocations: 15.92 kB / 0.6519 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.5158, allocations: 0 / 0.6519 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5158, allocations: 0 / 0.6519 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007079/0.5229, allocations: 3.919 MB / 0.6558 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.5229, allocations: 7.938 kB / 0.6558 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.5234, allocations: 99.88 kB / 0.6559 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.5234, allocations: 15.94 kB / 0.6559 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.5234, allocations: 16 kB / 0.6559 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/0.5234, allocations: 8 kB / 0.6559 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.144e-05/0.5235, allocations: 11.94 kB / 0.6559 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.5253, allocations: 1.271 MB / 0.6571 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.5257, allocations: 186.5 kB / 0.6573 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.5258, allocations: 16 kB / 0.6573 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.5263, allocations: 35.97 kB / 0.6574 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.5264, allocations: 47.81 kB / 0.6574 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.5265, allocations: 35.98 kB / 0.6575 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001964/0.5284, allocations: 1.271 MB / 0.6587 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5284, allocations: 0 / 0.6587 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002489/0.5309, allocations: 0.6928 MB / 0.6594 GB, free: 11.69 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.002237/0.5331, allocations: 1.872 MB / 0.6612 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00331/0.5365, allocations: 1.956 MB / 0.6631 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.5365, allocations: 0 / 0.6631 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.5371, allocations: 436.1 kB / 0.6635 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.5383, allocations: 241.2 kB / 0.6638 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03175/0.5701, allocations: 20.94 MB / 0.6842 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/0.5725, allocations: 1.701 MB / 0.6859 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002129/0.5746, allocations: 0.9636 MB / 0.6868 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.576, allocations: 1.042 MB / 0.6878 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.576, allocations: 0 / 0.6878 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07357/0.6496, allocations: 32.91 MB / 0.72 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.34, allocations: 11.38 kB / 0.72 GB, free: 11.36 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.625344743020833]