Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001327/0.001327, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001532/0.001532, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2209/0.2209, allocations: 46.94 MB / 360.9 MB, free: 4.238 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.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.89 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2879, allocations: 66.03 MB / 0.5606 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01206/0.2999, allocations: 9.596 MB / 0.57 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006387/0.3063, allocations: 2.955 MB / 0.5729 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.3074, allocations: 55.81 kB / 0.573 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00394/0.3113, allocations: 2.033 MB / 0.5749 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.314, allocations: 1.129 MB / 0.576 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.3147, allocations: 291.4 kB / 0.5763 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003316/0.318, allocations: 2.333 MB / 0.5786 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.3205, allocations: 1.738 MB / 0.5803 GB, free: 240 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.3217, allocations: 0.8956 MB / 0.5812 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.3234, allocations: 1.254 MB / 0.5824 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.3238, allocations: 195.9 kB / 0.5826 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.325, allocations: 0.7255 MB / 0.5833 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.3262, allocations: 1.133 MB / 0.5844 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.3276, allocations: 1.312 MB / 0.5857 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004829/0.3324, allocations: 4.33 MB / 0.5899 GB, free: 6.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3324, allocations: 0 / 0.5899 GB, free: 6.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3324, allocations: 4 kB / 0.5899 GB, free: 6.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.414e-05/0.3325, allocations: 3.938 kB / 0.5899 GB, free: 6.348 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.004804/0.3373, allocations: 2.862 MB / 0.5927 GB, free: 3.441 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3373, allocations: 12.03 kB / 0.5927 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006107/0.3379, allocations: 483.1 kB / 0.5932 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005155/0.3431, allocations: 1.578 MB / 0.5947 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.346, allocations: 1.279 MB / 0.596 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.3462, allocations: 151.9 kB / 0.5961 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003942/0.3466, allocations: 183.9 kB / 0.5963 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009989/0.3565, allocations: 6.246 MB / 0.6024 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.375e-05/0.3566, allocations: 11.88 kB / 0.6024 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/0.3568, allocations: 87.91 kB / 0.6025 GB, free: 9.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002087/0.3589, allocations: 1.348 MB / 0.6038 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.3692, allocations: 5.334 MB / 0.609 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02868/0.3979, allocations: 19.99 MB / 0.6285 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004038/0.4019, allocations: 1.485 MB / 0.63 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.4029, allocations: 0.6367 MB / 0.6306 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006815/0.4097, allocations: 3.152 MB / 0.6337 GB, free: 8.512 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.4098, allocations: 39 kB / 0.6337 GB, free: 8.465 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.735e-06/0.4098, allocations: 0 / 0.6337 GB, free: 8.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005477/0.4153, allocations: 1.998 MB / 0.6357 GB, free: 6.457 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.4153, allocations: 55.84 kB / 0.6357 GB, free: 6.391 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/0.4181, allocations: 1.949 MB / 0.6376 GB, free: 4.438 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.4182, allocations: 33.7 kB / 0.6377 GB, free: 4.398 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.4197, allocations: 1.903 MB / 0.6395 GB, free: 2.473 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.42, allocations: 329.5 kB / 0.6398 GB, free: 2.148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008495/0.4208, allocations: 0.6233 MB / 0.6404 GB, free: 1.516 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.421, allocations: 353.9 kB / 0.6408 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.4225, allocations: 0.8881 MB / 0.6416 GB, free: 280 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003062/0.4255, allocations: 2.755 MB / 0.6443 GB, free: 12.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004872/0.4304, allocations: 3.973 MB / 0.6482 GB, free: 7.691 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.752e-05/0.4304, allocations: 20 kB / 0.6482 GB, free: 7.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006105/0.4366, allocations: 3.535 MB / 0.6517 GB, free: 4.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.912e-05/0.4366, allocations: 32 kB / 0.6517 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.74e-05/0.4367, allocations: 68 kB / 0.6518 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.4368, allocations: 87.94 kB / 0.6519 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.4389, allocations: 0.655 MB / 0.6525 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001427/0.4391, allocations: 131.4 kB / 0.6526 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/0.4412, allocations: 429.3 kB / 0.653 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/0.4415, allocations: 188 kB / 0.6532 GB, free: 2.555 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.002246/0.4438, allocations: 1.339 MB / 0.6545 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/0.444, allocations: 166.8 kB / 0.6547 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.4445, allocations: 196.9 kB / 0.6549 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.4445, allocations: 11.94 kB / 0.6549 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4445, allocations: 4 kB / 0.6549 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.4445, allocations: 3.984 kB / 0.6549 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008076/0.4526, allocations: 3.993 MB / 0.6588 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.4526, allocations: 8 kB / 0.6588 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.453, allocations: 99.86 kB / 0.6589 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/0.4531, allocations: 12 kB / 0.6589 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/0.4531, allocations: 31.92 kB / 0.6589 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.166e-05/0.4531, allocations: 11.94 kB / 0.659 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.4531, allocations: 11.94 kB / 0.659 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.4548, allocations: 1.27 MB / 0.6602 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.4552, allocations: 178.6 kB / 0.6604 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.4555, allocations: 23.98 kB / 0.6604 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/0.456, allocations: 23.94 kB / 0.6604 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4561, allocations: 67.72 kB / 0.6605 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.4562, allocations: 28 kB / 0.6605 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002032/0.4582, allocations: 1.267 MB / 0.6617 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4582, allocations: 7.938 kB / 0.6618 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002481/0.4607, allocations: 0.6852 MB / 0.6624 GB, free: 8.875 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.002136/0.4628, allocations: 1.872 MB / 0.6643 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003234/0.466, allocations: 1.96 MB / 0.6662 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.4661, allocations: 8.062 kB / 0.6662 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006284/0.4667, allocations: 433.4 kB / 0.6666 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.468, allocations: 227.3 kB / 0.6668 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03238/0.5004, allocations: 20.95 MB / 0.6873 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003143/0.5035, allocations: 2.275 MB / 0.6895 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002207/0.5057, allocations: 0.9598 MB / 0.6904 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/0.5073, allocations: 1.042 MB / 0.6914 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/0.5073, allocations: 0 / 0.6914 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07797/0.5852, allocations: 35.29 MB / 0.7259 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.12, allocations: 4 kB / 0.7259 GB, free: 5.402 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 19.474614074919373]