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.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.001816/0.001816, allocations: 112.7 kB / 17.13 MB, free: 5.754 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.002162/0.002162, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.416/1.416, allocations: 207.6 MB / 230.5 MB, free: 4.055 MB / 174.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.3162/0.3162, allocations: 44.24 MB / 326.5 MB, free: 6.84 MB / 254.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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.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: 71.89 kB / 462.2 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2655, allocations: 60.99 MB / 0.5109 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.008976/0.2744, allocations: 11.1 MB / 0.5217 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005463/0.2799, allocations: 3.069 MB / 0.5247 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.2815, allocations: 55.94 kB / 0.5248 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003584/0.2851, allocations: 2.044 MB / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.2881, allocations: 1.238 MB / 0.528 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007372/0.2888, allocations: 291.4 kB / 0.5283 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003423/0.2922, allocations: 2.491 MB / 0.5307 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.2948, allocations: 2 MB / 0.5327 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.2963, allocations: 0.9656 MB / 0.5336 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.2984, allocations: 1.406 MB / 0.535 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004933/0.2989, allocations: 220 kB / 0.5352 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.3003, allocations: 0.7372 MB / 0.5359 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.3016, allocations: 1.27 MB / 0.5371 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.3032, allocations: 1.479 MB / 0.5386 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006271/0.3094, allocations: 4.85 MB / 0.5433 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3094, allocations: 0 / 0.5433 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3094, allocations: 0 / 0.5433 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001766/0.3096, allocations: 0 / 0.5433 GB, free: 13.64 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.006613/0.3162, allocations: 3.235 MB / 0.5465 GB, free: 10.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.3163, allocations: 15.89 kB / 0.5465 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008913/0.3172, allocations: 0.5216 MB / 0.547 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/0.3226, allocations: 1.645 MB / 0.5486 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/0.3265, allocations: 1.422 MB / 0.55 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.3267, allocations: 168.1 kB / 0.5502 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006685/0.3273, allocations: 203.9 kB / 0.5504 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.3398, allocations: 6.966 MB / 0.5572 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.239e-05/0.3399, allocations: 11.88 kB / 0.5572 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/0.3402, allocations: 103.9 kB / 0.5573 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002379/0.3425, allocations: 1.524 MB / 0.5588 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.3543, allocations: 5.943 MB / 0.5646 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03354/0.3879, allocations: 22.15 MB / 0.5862 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004787/0.3926, allocations: 2.112 MB / 0.5882 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.3939, allocations: 0.7347 MB / 0.589 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008089/0.402, allocations: 3.974 MB / 0.5928 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.402, allocations: 47.16 kB / 0.5929 GB, free: 9.512 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.576e-06/0.402, allocations: 3.938 kB / 0.5929 GB, free: 9.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.006057/0.4081, allocations: 2.261 MB / 0.5951 GB, free: 7.242 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.4081, allocations: 56.06 kB / 0.5952 GB, free: 7.176 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/0.4111, allocations: 2.061 MB / 0.5972 GB, free: 5.066 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.4112, allocations: 37.7 kB / 0.5972 GB, free: 5.023 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001616/0.4128, allocations: 2.098 MB / 0.5993 GB, free: 2.902 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/0.4132, allocations: 397 kB / 0.5996 GB, free: 2.512 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000879/0.4141, allocations: 0.6712 MB / 0.6003 GB, free: 1.832 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.4143, allocations: 369.8 kB / 0.6006 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.4159, allocations: 0.9941 MB / 0.6016 GB, free: 480 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003482/0.4193, allocations: 2.992 MB / 0.6045 GB, free: 12.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005402/0.4247, allocations: 4.364 MB / 0.6088 GB, free: 7.133 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-05/0.4248, allocations: 24 kB / 0.6088 GB, free: 7.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006964/0.4318, allocations: 3.886 MB / 0.6126 GB, free: 3.215 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.704e-05/0.4318, allocations: 36 kB / 0.6126 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.424e-05/0.4319, allocations: 72.91 kB / 0.6127 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.947e-05/0.432, allocations: 92 kB / 0.6128 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/0.4343, allocations: 0.7369 MB / 0.6135 GB, free: 2.281 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001239/0.4344, allocations: 139.4 kB / 0.6137 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.4366, allocations: 468.5 kB / 0.6141 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003821/0.437, allocations: 200 kB / 0.6143 GB, free: 1.488 MB / 478.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.002285/0.4392, allocations: 1.462 MB / 0.6157 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.4396, allocations: 182.9 kB / 0.6159 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.4417, allocations: 1.245 MB / 0.6171 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.4417, allocations: 12 kB / 0.6171 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4418, allocations: 3.938 kB / 0.6171 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4418, allocations: 7.984 kB / 0.6171 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.4518, allocations: 5.038 MB / 0.6221 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.4518, allocations: 8 kB / 0.6221 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.4524, allocations: 135.8 kB / 0.6222 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/0.4524, allocations: 16 kB / 0.6222 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/0.4525, allocations: 24 kB / 0.6222 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.916e-05/0.4525, allocations: 23.86 kB / 0.6223 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/0.4525, allocations: 15.94 kB / 0.6223 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.4546, allocations: 1.591 MB / 0.6238 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005522/0.4552, allocations: 275.6 kB / 0.6241 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.4554, allocations: 27.98 kB / 0.6241 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.456, allocations: 39.98 kB / 0.6241 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.4561, allocations: 79.67 kB / 0.6242 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.4562, allocations: 39.98 kB / 0.6243 GB, free: 6.883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00206/0.4582, allocations: 1.352 MB / 0.6256 GB, free: 5.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4582, allocations: 0 / 0.6256 GB, free: 5.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003039/0.4613, allocations: 0.7864 MB / 0.6264 GB, free: 4.719 MB / 494.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.002763/0.464, allocations: 2.207 MB / 0.6285 GB, free: 2.352 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.4678, allocations: 2.221 MB / 0.6307 GB, free: 156 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.4678, allocations: 4 kB / 0.6307 GB, free: 152 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008378/0.4687, allocations: 0.5301 MB / 0.6312 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.4702, allocations: 268.6 kB / 0.6315 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2585/0.7287, allocations: 23.24 MB / 0.6541 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/0.7314, allocations: 2.463 MB / 0.6565 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002211/0.7336, allocations: 1.039 MB / 0.6576 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.7348, allocations: 1.167 MB / 0.6587 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.163e-06/0.7348, allocations: 0 / 0.6587 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06001/0.7948, allocations: 36.07 MB / 0.6939 GB, free: 84.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.14, allocations: 9.594 kB / 0.6939 GB, free: 84.64 MB / 0.4981 GB " [Timeout remaining time 647] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.13126438902691]