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.001758/0.001758, allocations: 116 kB / 20.43 MB, free: 1.449 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.002164/0.002164, allocations: 214.8 kB / 23.74 MB, free: 4.66 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2382/0.2382, allocations: 46.93 MB / 360.9 MB, free: 4.266 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 75.88 kB / 0.4962 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3159, allocations: 66.04 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0121/0.328, allocations: 9.589 MB / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006443/0.3345, allocations: 2.959 MB / 0.5729 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.3358, allocations: 55.81 kB / 0.573 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004041/0.3398, allocations: 2.036 MB / 0.5749 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.3426, allocations: 1.129 MB / 0.576 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.3434, allocations: 295.4 kB / 0.5763 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00331/0.3467, allocations: 2.326 MB / 0.5786 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.3489, allocations: 1.742 MB / 0.5803 GB, free: 200 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.3503, allocations: 0.8917 MB / 0.5812 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.3521, allocations: 1.258 MB / 0.5824 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004289/0.3525, allocations: 192 kB / 0.5826 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.3538, allocations: 0.7255 MB / 0.5833 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.3551, allocations: 1.133 MB / 0.5844 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.3568, allocations: 1.308 MB / 0.5857 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005224/0.362, allocations: 4.33 MB / 0.5899 GB, free: 6.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.362, allocations: 3.938 kB / 0.5899 GB, free: 6.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.362, allocations: 3.938 kB / 0.5899 GB, free: 6.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000114/0.3621, allocations: 4 kB / 0.5899 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.005783/0.3679, allocations: 2.859 MB / 0.5927 GB, free: 3.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3679, allocations: 8.031 kB / 0.5927 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008432/0.3688, allocations: 487.1 kB / 0.5932 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/0.3739, allocations: 1.578 MB / 0.5947 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/0.3771, allocations: 1.282 MB / 0.596 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.3773, allocations: 147.8 kB / 0.5961 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000579/0.3779, allocations: 183.9 kB / 0.5963 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.3889, allocations: 6.242 MB / 0.6024 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.377e-05/0.389, allocations: 11.88 kB / 0.6024 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/0.3894, allocations: 91.84 kB / 0.6025 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/0.3916, allocations: 1.34 MB / 0.6038 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.4032, allocations: 5.338 MB / 0.609 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03328/0.4365, allocations: 20 MB / 0.6285 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004425/0.4409, allocations: 1.483 MB / 0.63 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.4421, allocations: 0.6406 MB / 0.6306 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007865/0.45, allocations: 3.164 MB / 0.6337 GB, free: 8.469 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.45, allocations: 35 kB / 0.6337 GB, free: 8.426 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 5.049e-06/0.45, allocations: 0 / 0.6337 GB, free: 8.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.006072/0.4561, allocations: 1.99 MB / 0.6357 GB, free: 6.426 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.4561, allocations: 59.84 kB / 0.6357 GB, free: 6.355 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/0.4599, allocations: 1.946 MB / 0.6376 GB, free: 4.406 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.46, allocations: 29.7 kB / 0.6377 GB, free: 4.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001662/0.4617, allocations: 1.919 MB / 0.6395 GB, free: 2.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004576/0.4621, allocations: 325.5 kB / 0.6398 GB, free: 2.109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.4633, allocations: 0.6234 MB / 0.6405 GB, free: 1.477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.4635, allocations: 357.9 kB / 0.6408 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.465, allocations: 0.8842 MB / 0.6417 GB, free: 240 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00312/0.4681, allocations: 2.751 MB / 0.6443 GB, free: 12.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005029/0.4731, allocations: 3.966 MB / 0.6482 GB, free: 7.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.24e-05/0.4732, allocations: 16 kB / 0.6482 GB, free: 7.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.007104/0.4803, allocations: 3.538 MB / 0.6517 GB, free: 4.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.913e-05/0.4804, allocations: 32 kB / 0.6517 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.4805, allocations: 64 kB / 0.6518 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.4806, allocations: 99.88 kB / 0.6519 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.4828, allocations: 0.6511 MB / 0.6525 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001386/0.4829, allocations: 131.5 kB / 0.6526 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.4852, allocations: 433.2 kB / 0.6531 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004729/0.4857, allocations: 184 kB / 0.6532 GB, free: 2.523 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.002549/0.4882, allocations: 1.342 MB / 0.6545 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.4886, allocations: 166.9 kB / 0.6547 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.4891, allocations: 192.9 kB / 0.6549 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/0.4891, allocations: 11.94 kB / 0.6549 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.4891, allocations: 4 kB / 0.6549 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.4892, allocations: 3.984 kB / 0.6549 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008616/0.4978, allocations: 4 MB / 0.6588 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/0.4978, allocations: 8.844 kB / 0.6588 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.4983, allocations: 103.8 kB / 0.6589 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/0.4983, allocations: 12 kB / 0.6589 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.758e-05/0.4983, allocations: 19.98 kB / 0.6589 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.597e-05/0.4984, allocations: 12 kB / 0.659 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/0.4984, allocations: 7.938 kB / 0.659 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.5001, allocations: 1.274 MB / 0.6602 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.5006, allocations: 182.6 kB / 0.6604 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/0.5009, allocations: 19.98 kB / 0.6604 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.5016, allocations: 27.94 kB / 0.6604 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.5017, allocations: 59.8 kB / 0.6605 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/0.5018, allocations: 31.91 kB / 0.6605 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002392/0.5041, allocations: 1.271 MB / 0.6618 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5041, allocations: 4 kB / 0.6618 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003015/0.5072, allocations: 0.6852 MB / 0.6624 GB, free: 8.844 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.002463/0.5096, allocations: 1.869 MB / 0.6643 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003448/0.5131, allocations: 1.96 MB / 0.6662 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.5131, allocations: 4.125 kB / 0.6662 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.5137, allocations: 433.5 kB / 0.6666 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.5153, allocations: 236.4 kB / 0.6668 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03499/0.5503, allocations: 20.95 MB / 0.6873 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003499/0.5538, allocations: 2.271 MB / 0.6895 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002604/0.5564, allocations: 0.9597 MB / 0.6904 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/0.5583, allocations: 1.042 MB / 0.6914 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of SimCode: time 1.492e-06/0.5583, allocations: 3.938 kB / 0.6914 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08255/0.6409, allocations: 35.28 MB / 0.7259 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.78, allocations: 7.062 kB / 0.7259 GB, free: 5.371 MB / 0.5606 GB " [Timeout remaining time 644] (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: 19.30258177500218]