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.0008087/0.0008087, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008493/0.0008493, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8347/0.8347, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1278/0.1278, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.613e-05, allocations: 2.281 kB / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.00734/0.007357, allocations: 9.693 MB / 416.5 MB, free: 8.508 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005087/0.01244, allocations: 2.921 MB / 419.4 MB, free: 5.578 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.01363, allocations: 63.81 kB / 419.5 MB, free: 5.516 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.01591, allocations: 2.067 MB / 421.6 MB, free: 3.441 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.01805, allocations: 1.275 MB / 422.8 MB, free: 2.16 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.0186, allocations: 319.1 kB / 423.2 MB, free: 1.848 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002325/0.02092, allocations: 2.539 MB / 425.7 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.02277, allocations: 1.855 MB / 427.6 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.02445, allocations: 1.423 MB / 429 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.02569, allocations: 1.286 MB / 430.3 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002958/0.02599, allocations: 220 kB / 430.5 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008325/0.02682, allocations: 0.6669 MB / 431.1 MB, free: 9.805 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007071/0.02753, allocations: 1.324 MB / 432.5 MB, free: 8.477 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006454/0.02817, allocations: 0.8059 MB / 433.3 MB, free: 7.668 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.03162, allocations: 4.816 MB / 438.1 MB, free: 2.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.03162, allocations: 0 / 438.1 MB, free: 2.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.03162, allocations: 0 / 438.1 MB, free: 2.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.354e-05/0.0317, allocations: 3.938 kB / 438.1 MB, free: 2.832 MB / 410.7 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.003815/0.03551, allocations: 3.125 MB / 441.2 MB, free: 15.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.03556, allocations: 12.03 kB / 441.2 MB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004178/0.03598, allocations: 0.5255 MB / 441.8 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/0.03886, allocations: 1.656 MB / 443.4 MB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.04075, allocations: 1.372 MB / 444.8 MB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.219e-05/0.04083, allocations: 164.3 kB / 444.9 MB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.0411, allocations: 200.3 kB / 445.1 MB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00671/0.04781, allocations: 6.981 MB / 452.1 MB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.04784, allocations: 15.88 kB / 452.1 MB, free: 4.355 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.04802, allocations: 99.89 kB / 452.2 MB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001275/0.0493, allocations: 1.524 MB / 453.8 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006523/0.05582, allocations: 5.935 MB / 459.7 MB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1693/0.2251, allocations: 21.02 MB / 480.7 MB, free: 84.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.2276, allocations: 1.738 MB / 482.5 MB, free: 84.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.2282, allocations: 0.7453 MB / 483.2 MB, free: 84.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003691/0.2319, allocations: 3.44 MB / 486.6 MB, free: 83.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.2319, allocations: 45.72 kB / 486.7 MB, free: 83.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/0.2319, allocations: 0 / 486.7 MB, free: 83.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.003153/0.2351, allocations: 2.394 MB / 489.1 MB, free: 82.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.2351, allocations: 61.59 kB / 489.1 MB, free: 82.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.2367, allocations: 2.185 MB / 491.3 MB, free: 81.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.2367, allocations: 36.98 kB / 491.4 MB, free: 81.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000581/0.2373, allocations: 2.077 MB / 493.4 MB, free: 80.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.2374, allocations: 385.8 kB / 493.8 MB, free: 79.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004431/0.2379, allocations: 0.6625 MB / 494.5 MB, free: 79.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.238, allocations: 362.1 kB / 494.8 MB, free: 79.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000788/0.2387, allocations: 0.9976 MB / 495.8 MB, free: 78.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.24, allocations: 2.994 MB / 498.8 MB, free: 76.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/0.2424, allocations: 4.351 MB / 0.4914 GB, free: 72.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.802e-05/0.2424, allocations: 25.44 kB / 0.4914 GB, free: 72.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.003704/0.2461, allocations: 3.902 MB / 0.4952 GB, free: 70.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.2461, allocations: 37.72 kB / 0.4952 GB, free: 70.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.244e-05/0.2462, allocations: 70.62 kB / 0.4953 GB, free: 70.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.557e-05/0.2463, allocations: 94.09 kB / 0.4954 GB, free: 70.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.2474, allocations: 0.7251 MB / 0.4961 GB, free: 70.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.1e-05/0.2475, allocations: 138.1 kB / 0.4962 GB, free: 70.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.2488, allocations: 477.6 kB / 0.4967 GB, free: 70.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.2489, allocations: 202.5 kB / 0.4969 GB, free: 70.42 MB / 442.7 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.001497/0.2504, allocations: 1.456 MB / 0.4983 GB, free: 69.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.2506, allocations: 187.3 kB / 0.4985 GB, free: 69.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.2518, allocations: 1.247 MB / 0.4997 GB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.2519, allocations: 11.59 kB / 0.4997 GB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2519, allocations: 0 / 0.4997 GB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.2519, allocations: 7.594 kB / 0.4997 GB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005183/0.257, allocations: 4.909 MB / 0.5045 GB, free: 67.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.2571, allocations: 9.656 kB / 0.5045 GB, free: 67.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.2574, allocations: 142.1 kB / 0.5047 GB, free: 67.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.2574, allocations: 14.34 kB / 0.5047 GB, free: 67.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.2574, allocations: 31.73 kB / 0.5047 GB, free: 67.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/0.2574, allocations: 19.91 kB / 0.5047 GB, free: 67.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.2574, allocations: 15.88 kB / 0.5047 GB, free: 67.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.2587, allocations: 1.572 MB / 0.5063 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.259, allocations: 205.2 kB / 0.5065 GB, free: 66.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.2591, allocations: 26.41 kB / 0.5065 GB, free: 66.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.2594, allocations: 41.11 kB / 0.5065 GB, free: 66.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.2595, allocations: 81.77 kB / 0.5066 GB, free: 65.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.2595, allocations: 37.5 kB / 0.5067 GB, free: 65.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.2607, allocations: 1.346 MB / 0.508 GB, free: 65.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.2607, allocations: 0 / 0.508 GB, free: 65.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002095/0.2628, allocations: 0.7857 MB / 0.5087 GB, free: 65.24 MB / 442.7 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.00125/0.2641, allocations: 2.19 MB / 0.5109 GB, free: 63.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.2665, allocations: 2.215 MB / 0.513 GB, free: 63.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.2665, allocations: 3.562 kB / 0.513 GB, free: 63.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.2669, allocations: 0.5336 MB / 0.5136 GB, free: 62.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/0.2679, allocations: 263.7 kB / 0.5138 GB, free: 62.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/0.2864, allocations: 23.12 MB / 0.5364 GB, free: 40.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.2877, allocations: 1.894 MB / 0.5382 GB, free: 39.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001284/0.2889, allocations: 1.042 MB / 0.5393 GB, free: 38.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007732/0.2897, allocations: 1.164 MB / 0.5404 GB, free: 37.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2897, allocations: 4 kB / 0.5404 GB, free: 37.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.3287, allocations: 36.23 MB / 0.5758 GB, free: 1.824 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/7.991, allocations: 4 kB / 0.5758 GB, free: 1.82 MB / 442.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/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: 9.991992588154972]