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.001887/0.001887, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002267/0.002267, allocations: 215.6 kB / 23.77 MB, free: 4.551 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.7 MB / 234.6 MB, free: 9.797 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.2183/0.2183, allocations: 44.26 MB / 331.1 MB, free: 9.336 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.002215/0.002215, allocations: 67.91 kB / 468.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1282, allocations: 61.06 MB / 0.5169 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01258/0.1408, allocations: 9.611 MB / 0.5263 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007138/0.1479, allocations: 2.921 MB / 0.5292 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.1497, allocations: 59.81 kB / 0.5292 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004633/0.1543, allocations: 1.959 MB / 0.5311 GB, free: 8.586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.158, allocations: 1.241 MB / 0.5323 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.159, allocations: 291.5 kB / 0.5326 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0041/0.1631, allocations: 2.508 MB / 0.5351 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003643/0.1668, allocations: 1.84 MB / 0.5369 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.1691, allocations: 0.9773 MB / 0.5378 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.172, allocations: 1.406 MB / 0.5392 GB, free: 268 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001061/0.1731, allocations: 220 kB / 0.5394 GB, free: 48 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.241/0.4141, allocations: 0.6285 MB / 0.54 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.4158, allocations: 1.272 MB / 0.5413 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.4178, allocations: 1.071 MB / 0.5423 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00731/0.4251, allocations: 4.867 MB / 0.5471 GB, free: 11.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4251, allocations: 0 / 0.5471 GB, free: 11.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4251, allocations: 3.938 kB / 0.5471 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002022/0.4253, allocations: 0.6562 kB / 0.5471 GB, free: 11.34 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.008116/0.4334, allocations: 3.154 MB / 0.5501 GB, free: 9.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4335, allocations: 9.344 kB / 0.5501 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001573/0.4336, allocations: 74.31 kB / 0.5502 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001274/0.4349, allocations: 0.5234 MB / 0.5507 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006364/0.4413, allocations: 1.64 MB / 0.5523 GB, free: 9.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00414/0.4454, allocations: 1.374 MB / 0.5537 GB, free: 9.305 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.4456, allocations: 158.6 kB / 0.5538 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/0.4466, allocations: 212.9 kB / 0.554 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01614/0.4628, allocations: 6.975 MB / 0.5608 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.192e-05/0.4629, allocations: 14.03 kB / 0.5608 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005765/0.4634, allocations: 101.8 kB / 0.5609 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002644/0.4661, allocations: 1.519 MB / 0.5624 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.4786, allocations: 5.947 MB / 0.5682 GB, free: 5.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03255/0.5111, allocations: 20.98 MB / 0.5887 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004491/0.5156, allocations: 1.661 MB / 0.5903 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.5169, allocations: 0.7348 MB / 0.5911 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008561/0.5255, allocations: 3.348 MB / 0.5943 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.5255, allocations: 39.22 kB / 0.5944 GB, free: 1.988 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 5.661e-06/0.5255, allocations: 0 / 0.5944 GB, free: 1.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006708/0.5322, allocations: 2.268 MB / 0.5966 GB, free: 15.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.5323, allocations: 60.06 kB / 0.5966 GB, free: 15.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/0.5359, allocations: 2.065 MB / 0.5987 GB, free: 13.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.5361, allocations: 43.97 kB / 0.5987 GB, free: 13.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001879/0.538, allocations: 2.084 MB / 0.6007 GB, free: 11.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/0.5386, allocations: 391.3 kB / 0.6011 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.5397, allocations: 0.6785 MB / 0.6018 GB, free: 10.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.5399, allocations: 361.9 kB / 0.6021 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.5417, allocations: 1 MB / 0.6031 GB, free: 8.992 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003614/0.5453, allocations: 2.994 MB / 0.606 GB, free: 5.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005984/0.5513, allocations: 4.349 MB / 0.6103 GB, free: 0 / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.626e-05/0.5513, allocations: 24.22 kB / 0.6103 GB, free: 15.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.008286/0.5596, allocations: 3.903 MB / 0.6141 GB, free: 12.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/0.5597, allocations: 36 kB / 0.6141 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/0.5598, allocations: 68.84 kB / 0.6142 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.5599, allocations: 97.78 kB / 0.6143 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/0.5624, allocations: 0.7252 MB / 0.615 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001326/0.5626, allocations: 139.4 kB / 0.6151 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/0.5655, allocations: 473.5 kB / 0.6156 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005936/0.566, allocations: 206.2 kB / 0.6158 GB, free: 10.69 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.003225/0.5693, allocations: 1.463 MB / 0.6172 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004159/0.5697, allocations: 182.8 kB / 0.6174 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.5721, allocations: 1.247 MB / 0.6186 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/0.5721, allocations: 8 kB / 0.6186 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5721, allocations: 3.844 kB / 0.6186 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.5722, allocations: 3.984 kB / 0.6186 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.5831, allocations: 4.898 MB / 0.6234 GB, free: 2.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/0.5831, allocations: 12 kB / 0.6234 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.5838, allocations: 143.9 kB / 0.6235 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.822e-05/0.5838, allocations: 12 kB / 0.6236 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/0.5839, allocations: 31.98 kB / 0.6236 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-05/0.5839, allocations: 15.94 kB / 0.6236 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/0.5839, allocations: 15.94 kB / 0.6236 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/0.5863, allocations: 1.593 MB / 0.6252 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005293/0.5869, allocations: 206.5 kB / 0.6254 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.5871, allocations: 20 kB / 0.6254 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.5877, allocations: 46.25 kB / 0.6254 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.5879, allocations: 79.66 kB / 0.6255 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-05/0.588, allocations: 39.98 kB / 0.6255 GB, free: 356 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00249/0.5905, allocations: 1.345 MB / 0.6269 GB, free: 14.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5905, allocations: 0 / 0.6269 GB, free: 14.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003299/0.5938, allocations: 0.7826 MB / 0.6276 GB, free: 14.2 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.002982/0.5967, allocations: 2.21 MB / 0.6298 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004213/0.601, allocations: 2.216 MB / 0.6319 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/0.601, allocations: 4.312 kB / 0.632 GB, free: 9.637 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008895/0.6019, allocations: 0.5327 MB / 0.6325 GB, free: 9.105 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.6036, allocations: 262 kB / 0.6327 GB, free: 8.859 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04131/0.6449, allocations: 23.24 MB / 0.6554 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003581/0.6485, allocations: 1.894 MB / 0.6573 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002852/0.6513, allocations: 1.042 MB / 0.6583 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002171/0.6535, allocations: 1.175 MB / 0.6594 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.6535, allocations: 4 kB / 0.6594 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08503/0.7385, allocations: 37.43 MB / 0.696 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.51/17.25, allocations: 4.062 kB / 0.696 GB, free: 5.207 MB / 0.5294 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: 20.700393317034468]