Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009077/0.0009077, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009832/0.0009832, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.881/0.881, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2517/0.2517, allocations: 34.23 MB / 294.8 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 442.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.501e-05, allocations: 6.219 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.1878/0.1878, allocations: 8.41 MB / 450.6 MB, free: 39.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004482/0.1923, allocations: 2.776 MB / 453.3 MB, free: 38.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009685/0.1932, allocations: 57.09 kB / 453.4 MB, free: 38.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.1954, allocations: 2.038 MB / 455.4 MB, free: 37.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.1975, allocations: 1.179 MB / 456.6 MB, free: 36.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.198, allocations: 305.9 kB / 456.9 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.2001, allocations: 2.37 MB / 459.3 MB, free: 35.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.2013, allocations: 1.745 MB / 461 MB, free: 34.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009217/0.2022, allocations: 1.285 MB / 462.3 MB, free: 34.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.203, allocations: 1.14 MB / 463.5 MB, free: 33.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.2031, allocations: 194.1 kB / 463.6 MB, free: 33.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000663/0.2038, allocations: 0.6412 MB / 464.3 MB, free: 33.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004899/0.2043, allocations: 1.179 MB / 465.5 MB, free: 33.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003954/0.2047, allocations: 0.7138 MB / 466.2 MB, free: 32.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.2069, allocations: 4.286 MB / 470.5 MB, free: 31.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2069, allocations: 0 / 470.5 MB, free: 31.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2069, allocations: 0 / 470.5 MB, free: 31.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.396e-05/0.207, allocations: 3.219 kB / 470.5 MB, free: 31.5 MB / 410.7 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.003233/0.2102, allocations: 2.834 MB / 473.3 MB, free: 29.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2103, allocations: 9.625 kB / 473.3 MB, free: 29.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003626/0.2106, allocations: 482 kB / 473.8 MB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.2132, allocations: 1.6 MB / 475.4 MB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.2147, allocations: 1.27 MB / 476.6 MB, free: 28.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/0.2148, allocations: 153 kB / 476.8 MB, free: 28.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.215, allocations: 189.6 kB / 477 MB, free: 28.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006047/0.221, allocations: 6.256 MB / 483.2 MB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.2211, allocations: 13.41 kB / 483.3 MB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.2212, allocations: 87.69 kB / 483.3 MB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001323/0.2225, allocations: 1.34 MB / 484.7 MB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008136/0.2307, allocations: 5.336 MB / 490 MB, free: 23.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02067/0.2513, allocations: 19.13 MB / 0.4972 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.2538, allocations: 1.563 MB / 0.4987 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.2545, allocations: 0.642 MB / 0.4994 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003329/0.2578, allocations: 3.128 MB / 0.5024 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.2578, allocations: 43 kB / 0.5025 GB, free: 7.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.486e-06/0.2578, allocations: 0 / 0.5025 GB, free: 7.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002904/0.2607, allocations: 2.12 MB / 0.5045 GB, free: 5.395 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.2608, allocations: 59.91 kB / 0.5046 GB, free: 5.324 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.2624, allocations: 2.046 MB / 0.5066 GB, free: 3.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.2624, allocations: 29.7 kB / 0.5066 GB, free: 3.238 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.2629, allocations: 1.903 MB / 0.5085 GB, free: 1.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.263, allocations: 317.6 kB / 0.5088 GB, free: 1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.2634, allocations: 0.6125 MB / 0.5094 GB, free: 388 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.2634, allocations: 365.9 kB / 0.5097 GB, free: 16 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008862/0.2643, allocations: 0.8881 MB / 0.5106 GB, free: 15.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.2661, allocations: 2.751 MB / 0.5133 GB, free: 11.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.269, allocations: 3.966 MB / 0.5171 GB, free: 6.547 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.671e-05/0.2691, allocations: 20 kB / 0.5172 GB, free: 6.527 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003658/0.2727, allocations: 3.531 MB / 0.5206 GB, free: 2.992 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.2728, allocations: 36 kB / 0.5206 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.255e-05/0.2728, allocations: 64 kB / 0.5207 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.156e-05/0.2729, allocations: 88 kB / 0.5208 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.274, allocations: 0.655 MB / 0.5214 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.322e-05/0.274, allocations: 131.5 kB / 0.5216 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.2753, allocations: 441 kB / 0.522 GB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.2755, allocations: 184 kB / 0.5222 GB, free: 1.41 MB / 426.7 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.002158/0.2777, allocations: 1.349 MB / 0.5235 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.2779, allocations: 163.1 kB / 0.5236 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.2781, allocations: 196.9 kB / 0.5238 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.2781, allocations: 8 kB / 0.5238 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2781, allocations: 0 / 0.5238 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2781, allocations: 3.984 kB / 0.5238 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.2825, allocations: 3.932 MB / 0.5277 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.2825, allocations: 8 kB / 0.5277 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.2828, allocations: 103.8 kB / 0.5278 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.2828, allocations: 11.94 kB / 0.5278 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.2828, allocations: 27.97 kB / 0.5278 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.2828, allocations: 15.94 kB / 0.5278 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.2828, allocations: 7.938 kB / 0.5278 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009564/0.2838, allocations: 1.252 MB / 0.5291 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.284, allocations: 174.7 kB / 0.5292 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.2841, allocations: 27.92 kB / 0.5292 GB, free: 9.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.2844, allocations: 27.94 kB / 0.5293 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.2844, allocations: 59.8 kB / 0.5293 GB, free: 9.789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.2845, allocations: 24 kB / 0.5294 GB, free: 9.766 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001136/0.2856, allocations: 1.271 MB / 0.5306 GB, free: 8.504 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2856, allocations: 4 kB / 0.5306 GB, free: 8.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001707/0.2873, allocations: 0.6929 MB / 0.5313 GB, free: 7.805 MB / 442.7 MB 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.001458/0.2888, allocations: 1.869 MB / 0.5331 GB, free: 5.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.291, allocations: 1.961 MB / 0.535 GB, free: 3.887 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.291, allocations: 0 / 0.535 GB, free: 3.887 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.2913, allocations: 429.9 kB / 0.5354 GB, free: 3.469 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/0.2921, allocations: 239.6 kB / 0.5357 GB, free: 3.254 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/0.3119, allocations: 20.83 MB / 0.556 GB, free: 11.87 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.3134, allocations: 1.712 MB / 0.5577 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001334/0.3148, allocations: 0.9535 MB / 0.5586 GB, free: 9.168 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008423/0.3156, allocations: 1.043 MB / 0.5596 GB, free: 8.125 MB / 474.7 MB Notification: Performance of SimCode: time 3.065e-06/0.3156, allocations: 0 / 0.5596 GB, free: 8.125 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04591/0.3615, allocations: 32.97 MB / 0.5918 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/8.006, allocations: 0 / 0.5918 GB, free: 7.512 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 10.092172658070922]