Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001326/0.001326, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.0014/0.0014, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.457/1.457, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.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.2669/0.2669, allocations: 44.9 MB / 355.8 MB, free: 12.33 MB / 286.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.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_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002003/0.002003, allocations: 67.89 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1225, allocations: 65.42 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01211/0.1347, allocations: 9.564 MB / 0.5618 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006239/0.1409, allocations: 2.947 MB / 0.5647 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.1419, allocations: 59.81 kB / 0.5647 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004026/0.1459, allocations: 2.021 MB / 0.5667 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.1489, allocations: 1.121 MB / 0.5678 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.1497, allocations: 295.4 kB / 0.5681 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003314/0.153, allocations: 2.329 MB / 0.5703 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.1555, allocations: 1.914 MB / 0.5722 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.1568, allocations: 0.8879 MB / 0.5731 GB, free: 4.879 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.1587, allocations: 1.254 MB / 0.5743 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004603/0.1592, allocations: 192 kB / 0.5745 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.1605, allocations: 0.7294 MB / 0.5752 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.1618, allocations: 1.141 MB / 0.5763 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.1634, allocations: 1.301 MB / 0.5776 GB, free: 256 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005503/0.1689, allocations: 4.338 MB / 0.5818 GB, free: 11.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.169, allocations: 0 / 0.5818 GB, free: 11.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.169, allocations: 0 / 0.5818 GB, free: 11.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001164/0.1691, allocations: 4 kB / 0.5818 GB, free: 11.89 MB / 446.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.00604/0.1751, allocations: 2.938 MB / 0.5847 GB, free: 8.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1752, allocations: 12.03 kB / 0.5847 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.405e-05/0.1752, allocations: 63.94 kB / 0.5848 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008569/0.1761, allocations: 487.1 kB / 0.5852 GB, free: 8.332 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005556/0.1817, allocations: 1.578 MB / 0.5868 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.1845, allocations: 1.333 MB / 0.5881 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.1847, allocations: 159.5 kB / 0.5882 GB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000569/0.1853, allocations: 187.9 kB / 0.5884 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2652/0.4505, allocations: 6.248 MB / 0.5945 GB, free: 35.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.168e-05/0.4505, allocations: 12.94 kB / 0.5945 GB, free: 35.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003692/0.4509, allocations: 89.5 kB / 0.5946 GB, free: 35.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002449/0.4534, allocations: 1.338 MB / 0.5959 GB, free: 35.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.4651, allocations: 5.333 MB / 0.6011 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02731/0.4924, allocations: 20.06 MB / 0.6207 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/0.4963, allocations: 1.944 MB / 0.6226 GB, free: 20.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008929/0.4972, allocations: 0.6413 MB / 0.6232 GB, free: 19.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005705/0.5029, allocations: 3.615 MB / 0.6268 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.5029, allocations: 40.91 kB / 0.6268 GB, free: 17.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.667e-06/0.5029, allocations: 4 kB / 0.6268 GB, free: 17.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004918/0.5078, allocations: 1.992 MB / 0.6287 GB, free: 16.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.5079, allocations: 59.66 kB / 0.6288 GB, free: 16.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.51, allocations: 1.943 MB / 0.6307 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.704e-05/0.5101, allocations: 36.14 kB / 0.6307 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007954/0.5109, allocations: 1.911 MB / 0.6326 GB, free: 13.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.5112, allocations: 332.8 kB / 0.6329 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006116/0.5118, allocations: 0.6224 MB / 0.6335 GB, free: 13.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5119, allocations: 349.9 kB / 0.6339 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009737/0.5129, allocations: 0.8881 MB / 0.6347 GB, free: 11.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.5144, allocations: 2.747 MB / 0.6374 GB, free: 8.141 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/0.5172, allocations: 3.972 MB / 0.6413 GB, free: 3.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.844e-05/0.5172, allocations: 20 kB / 0.6413 GB, free: 3.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004825/0.522, allocations: 3.535 MB / 0.6448 GB, free: 15.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.5221, allocations: 36 kB / 0.6448 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.033e-05/0.5222, allocations: 67.98 kB / 0.6449 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.853e-05/0.5223, allocations: 88 kB / 0.6449 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.5243, allocations: 0.6588 MB / 0.6456 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001213/0.5244, allocations: 127.5 kB / 0.6457 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.5266, allocations: 433 kB / 0.6461 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/0.5269, allocations: 188 kB / 0.6463 GB, free: 14.11 MB / 462.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.002248/0.5292, allocations: 1.344 MB / 0.6476 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.5295, allocations: 162.9 kB / 0.6478 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.53, allocations: 196.9 kB / 0.648 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/0.53, allocations: 15.94 kB / 0.648 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.53, allocations: 0 / 0.648 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.53, allocations: 4 kB / 0.648 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008076/0.5381, allocations: 4.024 MB / 0.6519 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.5381, allocations: 8 kB / 0.6519 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.5386, allocations: 104.7 kB / 0.652 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.55e-05/0.5386, allocations: 8 kB / 0.652 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/0.5387, allocations: 24 kB / 0.652 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.5387, allocations: 15.94 kB / 0.6521 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/0.5387, allocations: 7.938 kB / 0.6521 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.5404, allocations: 1.275 MB / 0.6533 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/0.5409, allocations: 262.2 kB / 0.6536 GB, free: 6.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/0.5412, allocations: 16 kB / 0.6536 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.5418, allocations: 30.5 kB / 0.6536 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.5419, allocations: 63.75 kB / 0.6537 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.542, allocations: 32 kB / 0.6537 GB, free: 6.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002174/0.5442, allocations: 1.263 MB / 0.6549 GB, free: 4.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5442, allocations: 0 / 0.6549 GB, free: 4.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002843/0.547, allocations: 0.6891 MB / 0.6556 GB, free: 4.289 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.002443/0.5494, allocations: 1.873 MB / 0.6574 GB, free: 2.305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003378/0.5528, allocations: 1.961 MB / 0.6593 GB, free: 376 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5528, allocations: 448 / 0.6594 GB, free: 376 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006867/0.5535, allocations: 436.3 kB / 0.6598 GB, free: 15.94 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.5551, allocations: 236 kB / 0.66 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03343/0.5885, allocations: 20.94 MB / 0.6804 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003403/0.5919, allocations: 2.279 MB / 0.6827 GB, free: 5.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002372/0.5943, allocations: 0.9612 MB / 0.6836 GB, free: 4.957 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/0.5959, allocations: 1.038 MB / 0.6846 GB, free: 3.918 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5959, allocations: 0 / 0.6846 GB, free: 3.918 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06474/0.6607, allocations: 32.84 MB / 0.7167 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.86, allocations: 15.98 kB / 0.7167 GB, free: 3.258 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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: 17.4951505009667]