Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001686/0.001686, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.002095/0.002095, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.233/0.233, allocations: 46.95 MB / 361.7 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.89 kB / 0.4969 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2939, allocations: 66.03 MB / 0.5614 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01252/0.3064, allocations: 9.593 MB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006411/0.3128, allocations: 2.955 MB / 0.5737 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.3141, allocations: 59.81 kB / 0.5737 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004319/0.3184, allocations: 2.033 MB / 0.5757 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.3214, allocations: 1.133 MB / 0.5768 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008864/0.3223, allocations: 291.5 kB / 0.5771 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003834/0.3261, allocations: 2.325 MB / 0.5794 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.3289, allocations: 1.738 MB / 0.5811 GB, free: 204 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.3305, allocations: 0.8957 MB / 0.5819 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.3326, allocations: 1.254 MB / 0.5832 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005761/0.3332, allocations: 196 kB / 0.5833 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.3347, allocations: 0.7215 MB / 0.5841 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.3362, allocations: 1.137 MB / 0.5852 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.3381, allocations: 1.316 MB / 0.5864 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005645/0.3438, allocations: 4.334 MB / 0.5907 GB, free: 6.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3438, allocations: 0 / 0.5907 GB, free: 6.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3438, allocations: 0 / 0.5907 GB, free: 6.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001479/0.3439, allocations: 0 / 0.5907 GB, free: 6.312 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.006296/0.3502, allocations: 2.862 MB / 0.5935 GB, free: 3.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.3503, allocations: 8.031 kB / 0.5935 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.774e-05/0.3504, allocations: 67.94 kB / 0.5935 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009037/0.3513, allocations: 487.1 kB / 0.594 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005314/0.3566, allocations: 1.574 MB / 0.5955 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.3593, allocations: 1.279 MB / 0.5968 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.3594, allocations: 147.5 kB / 0.5969 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004365/0.3598, allocations: 187.9 kB / 0.5971 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009847/0.3697, allocations: 6.246 MB / 0.6032 GB, free: 9.113 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-05/0.3697, allocations: 11.88 kB / 0.6032 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/0.37, allocations: 95.89 kB / 0.6033 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002169/0.3722, allocations: 1.344 MB / 0.6046 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009956/0.3821, allocations: 5.326 MB / 0.6098 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02834/0.4105, allocations: 20 MB / 0.6294 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003935/0.4144, allocations: 1.482 MB / 0.6308 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009505/0.4153, allocations: 0.639 MB / 0.6314 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006335/0.4217, allocations: 3.164 MB / 0.6345 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.4217, allocations: 35 kB / 0.6346 GB, free: 8.363 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.766e-06/0.4217, allocations: 0 / 0.6346 GB, free: 8.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.008954/0.4307, allocations: 1.998 MB / 0.6365 GB, free: 6.355 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.4307, allocations: 55.84 kB / 0.6366 GB, free: 6.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/0.435, allocations: 1.942 MB / 0.6385 GB, free: 4.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.4351, allocations: 33.7 kB / 0.6385 GB, free: 4.305 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001922/0.437, allocations: 1.907 MB / 0.6404 GB, free: 2.375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/0.4376, allocations: 329.5 kB / 0.6407 GB, free: 2.051 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.4389, allocations: 0.6234 MB / 0.6413 GB, free: 1.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.4391, allocations: 361.9 kB / 0.6416 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.4413, allocations: 0.8842 MB / 0.6425 GB, free: 176 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/0.4459, allocations: 2.751 MB / 0.6452 GB, free: 12.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007968/0.4539, allocations: 3.973 MB / 0.6491 GB, free: 7.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-05/0.454, allocations: 16 kB / 0.6491 GB, free: 7.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00942/0.4634, allocations: 3.539 MB / 0.6525 GB, free: 4.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.4635, allocations: 32 kB / 0.6526 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/0.4636, allocations: 64.88 kB / 0.6526 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.4638, allocations: 91.94 kB / 0.6527 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/0.4669, allocations: 0.655 MB / 0.6533 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001876/0.467, allocations: 135.5 kB / 0.6535 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/0.4702, allocations: 428.8 kB / 0.6539 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004711/0.4706, allocations: 184 kB / 0.6541 GB, free: 2.457 MB / 494.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.003038/0.4737, allocations: 1.346 MB / 0.6554 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/0.4741, allocations: 166.9 kB / 0.6555 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005837/0.4747, allocations: 200.8 kB / 0.6557 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.4747, allocations: 8 kB / 0.6557 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.4747, allocations: 0 / 0.6557 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.4747, allocations: 3.984 kB / 0.6557 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.4852, allocations: 4.001 MB / 0.6596 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-05/0.4852, allocations: 8 kB / 0.6596 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006697/0.4859, allocations: 99.83 kB / 0.6597 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-05/0.4859, allocations: 12 kB / 0.6598 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/0.486, allocations: 15.98 kB / 0.6598 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.798e-05/0.486, allocations: 19.88 kB / 0.6598 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.682e-05/0.486, allocations: 11.94 kB / 0.6598 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.4885, allocations: 1.271 MB / 0.661 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/0.4891, allocations: 178.6 kB / 0.6612 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000491/0.4896, allocations: 19.98 kB / 0.6612 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009435/0.4905, allocations: 35.92 kB / 0.6613 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.4907, allocations: 59.73 kB / 0.6613 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.46e-05/0.4908, allocations: 31.94 kB / 0.6614 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002977/0.4938, allocations: 1.275 MB / 0.6626 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4938, allocations: 0 / 0.6626 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003001/0.4968, allocations: 0.6814 MB / 0.6633 GB, free: 8.773 MB / 0.4981 GB 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.00248/0.4993, allocations: 1.876 MB / 0.6651 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003449/0.5027, allocations: 1.955 MB / 0.667 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.5027, allocations: 4 kB / 0.667 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00065/0.5034, allocations: 430.8 kB / 0.6674 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.5049, allocations: 240.7 kB / 0.6676 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03412/0.539, allocations: 20.95 MB / 0.6881 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003163/0.5421, allocations: 2.267 MB / 0.6903 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002238/0.5444, allocations: 0.9559 MB / 0.6913 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/0.546, allocations: 1.046 MB / 0.6923 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of SimCode: time 8.71e-07/0.546, allocations: 0 / 0.6923 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07235/0.6183, allocations: 35.31 MB / 0.7268 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/16.48, allocations: 11.98 kB / 0.7268 GB, free: 5.277 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 20.254159961012192]