Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001549/0.001549, allocations: 109 kB / 20.48 MB, free: 1.492 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.001519/0.001519, allocations: 210.8 kB / 23.79 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 207.6 MB / 234.6 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2282/0.2282, allocations: 44.24 MB / 331.1 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 63.91 kB / 468.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1092, allocations: 61.04 MB / 0.5169 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01329/0.1225, allocations: 11.11 MB / 0.5278 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006491/0.129, allocations: 3.096 MB / 0.5308 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.1304, allocations: 59.81 kB / 0.5308 GB, free: 9.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.1346, allocations: 2.048 MB / 0.5328 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003555/0.1381, allocations: 1.245 MB / 0.5341 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008694/0.139, allocations: 303.4 kB / 0.5343 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003736/0.1427, allocations: 2.489 MB / 0.5368 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.1453, allocations: 1.836 MB / 0.5386 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.147, allocations: 0.9812 MB / 0.5395 GB, free: 56 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2122/0.3592, allocations: 1.406 MB / 0.5409 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006382/0.3598, allocations: 219.3 kB / 0.5411 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.3613, allocations: 0.7314 MB / 0.5418 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.3626, allocations: 1.273 MB / 0.5431 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.3647, allocations: 1.471 MB / 0.5445 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008089/0.3728, allocations: 4.865 MB / 0.5493 GB, free: 10.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3728, allocations: 0 / 0.5493 GB, free: 10.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3728, allocations: 0 / 0.5493 GB, free: 10.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001815/0.373, allocations: 0 / 0.5493 GB, free: 10.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.008349/0.3813, allocations: 3.151 MB / 0.5523 GB, free: 8.934 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3814, allocations: 13.94 kB / 0.5523 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000119/0.3815, allocations: 71.59 kB / 0.5524 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001192/0.3827, allocations: 0.5291 MB / 0.5529 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006089/0.3888, allocations: 1.633 MB / 0.5545 GB, free: 8.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/0.3924, allocations: 1.37 MB / 0.5559 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.3925, allocations: 160.5 kB / 0.556 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00081/0.3933, allocations: 207.5 kB / 0.5562 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/0.4073, allocations: 6.972 MB / 0.563 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-05/0.4074, allocations: 15.41 kB / 0.563 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000379/0.4077, allocations: 95.39 kB / 0.5631 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00243/0.4102, allocations: 1.528 MB / 0.5646 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.4244, allocations: 5.955 MB / 0.5704 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03416/0.4586, allocations: 22.03 MB / 0.592 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.4631, allocations: 1.664 MB / 0.5936 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.4644, allocations: 0.7385 MB / 0.5943 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00789/0.4723, allocations: 3.497 MB / 0.5977 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.4723, allocations: 45.55 kB / 0.5978 GB, free: 13.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 4.829e-06/0.4723, allocations: 0 / 0.5978 GB, free: 13.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.006515/0.4789, allocations: 2.273 MB / 0.6 GB, free: 10.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.4789, allocations: 60.06 kB / 0.6 GB, free: 10.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.4828, allocations: 2.057 MB / 0.602 GB, free: 8.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002168/0.483, allocations: 41.7 kB / 0.6021 GB, free: 8.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001909/0.4849, allocations: 2.09 MB / 0.6041 GB, free: 6.574 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005617/0.4855, allocations: 392.3 kB / 0.6045 GB, free: 6.195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.4866, allocations: 0.682 MB / 0.6052 GB, free: 5.508 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002591/0.4869, allocations: 357.9 kB / 0.6055 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.4887, allocations: 0.998 MB / 0.6065 GB, free: 4.152 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/0.4924, allocations: 2.994 MB / 0.6094 GB, free: 204 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006063/0.4985, allocations: 4.356 MB / 0.6137 GB, free: 11.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.088e-05/0.4985, allocations: 24 kB / 0.6137 GB, free: 11.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.008444/0.507, allocations: 3.897 MB / 0.6175 GB, free: 7.652 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.131e-05/0.5071, allocations: 36 kB / 0.6175 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.5072, allocations: 68 kB / 0.6176 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.5073, allocations: 96 kB / 0.6177 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.5099, allocations: 0.729 MB / 0.6184 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000133/0.5101, allocations: 136.1 kB / 0.6185 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/0.5127, allocations: 468.5 kB / 0.619 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004696/0.5131, allocations: 208.8 kB / 0.6192 GB, free: 5.934 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.003116/0.5163, allocations: 1.467 MB / 0.6206 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.5166, allocations: 178.8 kB / 0.6208 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.5189, allocations: 1.244 MB / 0.622 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.519, allocations: 15.94 kB / 0.622 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.519, allocations: 0 / 0.622 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.519, allocations: 3.984 kB / 0.622 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009769/0.5288, allocations: 5.007 MB / 0.6269 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.5288, allocations: 8 kB / 0.6269 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.5294, allocations: 151.8 kB / 0.627 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.766e-05/0.5294, allocations: 13.73 kB / 0.6271 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.5295, allocations: 24 kB / 0.6271 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.239e-05/0.5295, allocations: 23.92 kB / 0.6271 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/0.5295, allocations: 11.94 kB / 0.6271 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.5319, allocations: 1.592 MB / 0.6287 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005625/0.5325, allocations: 202.5 kB / 0.6289 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/0.5327, allocations: 24 kB / 0.6289 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000645/0.5334, allocations: 42.47 kB / 0.6289 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.5335, allocations: 79.59 kB / 0.629 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.352e-05/0.5336, allocations: 43.98 kB / 0.629 GB, free: 11.47 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002307/0.5359, allocations: 1.348 MB / 0.6304 GB, free: 10.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5359, allocations: 0 / 0.6304 GB, free: 10.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00362/0.5395, allocations: 0.7825 MB / 0.6311 GB, free: 9.312 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.003017/0.5425, allocations: 2.208 MB / 0.6333 GB, free: 6.961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004221/0.5468, allocations: 2.224 MB / 0.6354 GB, free: 4.758 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.5468, allocations: 0 / 0.6354 GB, free: 4.758 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008818/0.5477, allocations: 0.5299 MB / 0.636 GB, free: 4.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.5493, allocations: 259.7 kB / 0.6362 GB, free: 3.984 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04464/0.5939, allocations: 23.25 MB / 0.6589 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004022/0.598, allocations: 2.456 MB / 0.6613 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002784/0.6007, allocations: 1.045 MB / 0.6623 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002354/0.6031, allocations: 1.171 MB / 0.6635 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of SimCode: time 1.754e-06/0.6031, allocations: 0 / 0.6635 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0837/0.6868, allocations: 38.81 MB / 0.7014 GB, free: 14.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.51, allocations: 8 kB / 0.7014 GB, free: 14.39 MB / 0.545 GB " [Timeout remaining time 643] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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: 19.92352542001754]