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.001369/0.001369, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001499/0.001499, allocations: 212.3 kB / 24.51 MB, free: 3.914 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.2294/0.2294, allocations: 46.96 MB / 361.7 MB, free: 4.027 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.001976/0.001976, allocations: 67.91 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.301, allocations: 66.02 MB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01077/0.3118, allocations: 8.358 MB / 0.5695 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005625/0.3174, allocations: 2.773 MB / 0.5722 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009703/0.3184, allocations: 55.81 kB / 0.5723 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003637/0.322, allocations: 1.935 MB / 0.5742 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.3245, allocations: 1.14 MB / 0.5753 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.3251, allocations: 287.4 kB / 0.5755 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00279/0.3279, allocations: 2.322 MB / 0.5778 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.3299, allocations: 1.75 MB / 0.5795 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.3309, allocations: 0.8878 MB / 0.5804 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.3324, allocations: 1.254 MB / 0.5816 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003416/0.3328, allocations: 192 kB / 0.5818 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.3338, allocations: 0.6163 MB / 0.5824 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.3349, allocations: 1.141 MB / 0.5835 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.336, allocations: 0.9432 MB / 0.5844 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.3405, allocations: 4.342 MB / 0.5887 GB, free: 8.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3405, allocations: 0 / 0.5887 GB, free: 8.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3405, allocations: 3.938 kB / 0.5887 GB, free: 8.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.512e-05/0.3406, allocations: 0 / 0.5887 GB, free: 8.094 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.005197/0.3458, allocations: 2.87 MB / 0.5915 GB, free: 5.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3458, allocations: 8.031 kB / 0.5915 GB, free: 5.172 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.803e-05/0.3459, allocations: 67.94 kB / 0.5916 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000721/0.3466, allocations: 479.1 kB / 0.592 GB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/0.3517, allocations: 1.582 MB / 0.5936 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.3545, allocations: 1.282 MB / 0.5948 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.3546, allocations: 147.6 kB / 0.5949 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004717/0.3551, allocations: 187.9 kB / 0.5951 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.3651, allocations: 6.246 MB / 0.6012 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.01e-05/0.3652, allocations: 11.88 kB / 0.6012 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.3654, allocations: 87.91 kB / 0.6013 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/0.3674, allocations: 1.34 MB / 0.6026 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009493/0.3769, allocations: 5.334 MB / 0.6078 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0259/0.4028, allocations: 19.06 MB / 0.6264 GB, free: 468 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003992/0.4068, allocations: 1.487 MB / 0.6279 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009528/0.4078, allocations: 0.6393 MB / 0.6285 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006298/0.4141, allocations: 3.02 MB / 0.6315 GB, free: 11.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.4141, allocations: 39 kB / 0.6315 GB, free: 11.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.286e-06/0.4141, allocations: 0 / 0.6315 GB, free: 11.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005652/0.4198, allocations: 1.99 MB / 0.6335 GB, free: 9.215 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.4198, allocations: 59.84 kB / 0.6335 GB, free: 9.145 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.4228, allocations: 1.946 MB / 0.6354 GB, free: 7.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.05e-05/0.4229, allocations: 29.7 kB / 0.6354 GB, free: 7.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.4245, allocations: 1.915 MB / 0.6373 GB, free: 5.223 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/0.4248, allocations: 329.5 kB / 0.6376 GB, free: 4.898 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000831/0.4257, allocations: 0.6234 MB / 0.6382 GB, free: 4.266 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.4259, allocations: 353.9 kB / 0.6386 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.4273, allocations: 0.892 MB / 0.6394 GB, free: 3.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.4302, allocations: 2.755 MB / 0.6421 GB, free: 15.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004689/0.4349, allocations: 3.966 MB / 0.646 GB, free: 10.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.866e-05/0.4349, allocations: 20 kB / 0.646 GB, free: 10.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005815/0.4408, allocations: 3.53 MB / 0.6495 GB, free: 6.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/0.4408, allocations: 32 kB / 0.6495 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.266e-05/0.4409, allocations: 68 kB / 0.6496 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.32e-05/0.441, allocations: 87.94 kB / 0.6497 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.4429, allocations: 0.6628 MB / 0.6503 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001143/0.443, allocations: 123.5 kB / 0.6504 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.4449, allocations: 433.4 kB / 0.6508 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/0.4451, allocations: 192 kB / 0.651 GB, free: 5.305 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.001919/0.4471, allocations: 1.338 MB / 0.6523 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.4473, allocations: 162.9 kB / 0.6525 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.4476, allocations: 200.8 kB / 0.6527 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.4476, allocations: 8 kB / 0.6527 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.4476, allocations: 11.92 kB / 0.6527 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4476, allocations: 0 / 0.6527 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/0.4541, allocations: 3.911 MB / 0.6565 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.4541, allocations: 8 kB / 0.6565 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.4545, allocations: 103.8 kB / 0.6566 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/0.4545, allocations: 15.98 kB / 0.6566 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.4546, allocations: 20 kB / 0.6566 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.4546, allocations: 8.625 kB / 0.6567 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.4546, allocations: 15.94 kB / 0.6567 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.4562, allocations: 1.27 MB / 0.6579 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.4566, allocations: 178.6 kB / 0.6581 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.4568, allocations: 16 kB / 0.6581 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.4573, allocations: 35.92 kB / 0.6581 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-05/0.4574, allocations: 51.81 kB / 0.6582 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.4575, allocations: 31.98 kB / 0.6582 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001852/0.4593, allocations: 1.279 MB / 0.6595 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4593, allocations: 0 / 0.6595 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00244/0.4618, allocations: 0.6851 MB / 0.6601 GB, free: 11.71 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.002106/0.4639, allocations: 1.876 MB / 0.662 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003248/0.4671, allocations: 1.963 MB / 0.6639 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.4671, allocations: 0 / 0.6639 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006247/0.4677, allocations: 430.3 kB / 0.6643 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.4691, allocations: 237.7 kB / 0.6645 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/0.5006, allocations: 20.95 MB / 0.685 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002524/0.5031, allocations: 1.701 MB / 0.6866 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00221/0.5053, allocations: 0.9558 MB / 0.6876 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/0.5069, allocations: 1.042 MB / 0.6886 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of SimCode: time 1.303e-06/0.5069, allocations: 4 kB / 0.6886 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06743/0.5743, allocations: 34.03 MB / 0.7218 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/16.43, allocations: 16.34 kB / 0.7218 GB, free: 10.28 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.22312910493929]