Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 249.8 MB, free: 3.488 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 44.92 MB / 349.6 MB, free: 1.797 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 59.56 kB / 491.8 MB, free: 30.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1102, allocations: 64.27 MB / 0.543 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01225/0.1224, allocations: 9.774 MB / 0.5525 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006828/0.1293, allocations: 2.943 MB / 0.5554 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.1307, allocations: 51.94 kB / 0.5555 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004196/0.1349, allocations: 2.017 MB / 0.5574 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.138, allocations: 1.159 MB / 0.5586 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009518/0.139, allocations: 291.4 kB / 0.5588 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003772/0.1428, allocations: 2.325 MB / 0.5611 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003036/0.1458, allocations: 1.938 MB / 0.563 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.1475, allocations: 0.8956 MB / 0.5639 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.1498, allocations: 1.285 MB / 0.5651 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006329/0.1504, allocations: 196 kB / 0.5653 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.1521, allocations: 0.7255 MB / 0.566 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.1538, allocations: 1.18 MB / 0.5672 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002337/0.1562, allocations: 1.343 MB / 0.5685 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006262/0.1624, allocations: 4.474 MB / 0.5729 GB, free: 5.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1624, allocations: 0 / 0.5729 GB, free: 5.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1624, allocations: 0 / 0.5729 GB, free: 5.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001246/0.1626, allocations: 4 kB / 0.5729 GB, free: 5.375 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006128/0.1687, allocations: 3.02 MB / 0.5758 GB, free: 2.293 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1687, allocations: 8.031 kB / 0.5758 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008732/0.1696, allocations: 499.8 kB / 0.5763 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/0.1748, allocations: 1.606 MB / 0.5779 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003617/0.1784, allocations: 1.36 MB / 0.5792 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.1786, allocations: 151.8 kB / 0.5793 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006379/0.1792, allocations: 187.9 kB / 0.5795 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.191, allocations: 6.428 MB / 0.5858 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.824e-05/0.191, allocations: 15.88 kB / 0.5858 GB, free: 7.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003166/0.1914, allocations: 95.89 kB / 0.5859 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002266/0.1936, allocations: 1.399 MB / 0.5873 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.2052, allocations: 5.488 MB / 0.5926 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2496/0.4547, allocations: 20.5 MB / 0.6127 GB, free: 46.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/0.459, allocations: 1.943 MB / 0.6145 GB, free: 45.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.4601, allocations: 0.6426 MB / 0.6152 GB, free: 45.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007556/0.4676, allocations: 3.635 MB / 0.6187 GB, free: 44.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.4677, allocations: 42.11 kB / 0.6188 GB, free: 44.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.697e-06/0.4677, allocations: 0 / 0.6188 GB, free: 44.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.006004/0.4737, allocations: 1.992 MB / 0.6207 GB, free: 44.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.4737, allocations: 65.97 kB / 0.6208 GB, free: 44.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/0.4777, allocations: 1.97 MB / 0.6227 GB, free: 43.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.4779, allocations: 32.02 kB / 0.6227 GB, free: 43.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.4793, allocations: 1.959 MB / 0.6246 GB, free: 42.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.4797, allocations: 330.8 kB / 0.625 GB, free: 42.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.4808, allocations: 0.6278 MB / 0.6256 GB, free: 41.85 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.481, allocations: 360 kB / 0.6259 GB, free: 41.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.4826, allocations: 0.8882 MB / 0.6268 GB, free: 41.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.4848, allocations: 2.776 MB / 0.6295 GB, free: 38.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00363/0.4885, allocations: 3.999 MB / 0.6334 GB, free: 35.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.967e-05/0.4886, allocations: 23.47 kB / 0.6334 GB, free: 35.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005995/0.4946, allocations: 3.562 MB / 0.6369 GB, free: 33.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/0.4946, allocations: 37.53 kB / 0.6369 GB, free: 33.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-05/0.4947, allocations: 66.91 kB / 0.637 GB, free: 33.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.505e-05/0.4948, allocations: 86.19 kB / 0.6371 GB, free: 33.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.4966, allocations: 0.659 MB / 0.6377 GB, free: 33.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-05/0.4967, allocations: 137.5 kB / 0.6379 GB, free: 33.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.4988, allocations: 428.8 kB / 0.6383 GB, free: 33.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003465/0.4991, allocations: 190.1 kB / 0.6384 GB, free: 33.25 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.001774/0.5009, allocations: 1.367 MB / 0.6398 GB, free: 32.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.5011, allocations: 168 kB / 0.6399 GB, free: 32.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.5014, allocations: 203.8 kB / 0.6401 GB, free: 32.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.5014, allocations: 11.06 kB / 0.6401 GB, free: 32.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.5014, allocations: 7.875 kB / 0.6402 GB, free: 32.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5014, allocations: 0 / 0.6402 GB, free: 32.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005946/0.5074, allocations: 4.092 MB / 0.6441 GB, free: 30.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.5074, allocations: 10.56 kB / 0.6442 GB, free: 30.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.5078, allocations: 105.2 kB / 0.6443 GB, free: 30.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.978e-06/0.5078, allocations: 12 kB / 0.6443 GB, free: 30.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.5078, allocations: 18.62 kB / 0.6443 GB, free: 30.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.5078, allocations: 15.34 kB / 0.6443 GB, free: 30.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.5078, allocations: 10.62 kB / 0.6443 GB, free: 30.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.5089, allocations: 1.269 MB / 0.6456 GB, free: 29.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.5093, allocations: 260.6 kB / 0.6458 GB, free: 29.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.5095, allocations: 26.08 kB / 0.6458 GB, free: 29.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.5099, allocations: 32.12 kB / 0.6459 GB, free: 29.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.51, allocations: 56.7 kB / 0.6459 GB, free: 29.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.51, allocations: 31.3 kB / 0.6459 GB, free: 29.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001409/0.5114, allocations: 1.286 MB / 0.6472 GB, free: 29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5114, allocations: 0 / 0.6472 GB, free: 29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002341/0.5138, allocations: 0.7103 MB / 0.6479 GB, free: 28.53 MB / 462.1 MB 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.001362/0.5152, allocations: 1.888 MB / 0.6497 GB, free: 26.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.5175, allocations: 1.965 MB / 0.6517 GB, free: 24.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5175, allocations: 0 / 0.6517 GB, free: 24.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.5179, allocations: 440 kB / 0.6521 GB, free: 24.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.5191, allocations: 242.7 kB / 0.6523 GB, free: 23.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0232/0.5423, allocations: 21.21 MB / 0.673 GB, free: 164 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003151/0.5455, allocations: 2.321 MB / 0.6753 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002343/0.5478, allocations: 0.9654 MB / 0.6762 GB, free: 12.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/0.5494, allocations: 1.069 MB / 0.6773 GB, free: 11.78 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5494, allocations: 0 / 0.6773 GB, free: 11.78 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07177/0.6212, allocations: 33.31 MB / 0.7098 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.14, allocations: 11.98 kB / 0.7098 GB, free: 10.64 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 16.3281967821531]