Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001927/0.001927, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001985/0.001985, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 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.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.96e-05, allocations: 2.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006939/0.006969, allocations: 4.365 MB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.009578, allocations: 1.383 MB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.009863, allocations: 31.69 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.01026, allocations: 178.2 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.01064, allocations: 182.2 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007569/0.0114, allocations: 379.3 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.01255, allocations: 1.001 MB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004856/0.01303, allocations: 271.3 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000687/0.01372, allocations: 0.495 MB / 280.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.01408, allocations: 247.1 kB / 280.8 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.01419, allocations: 72 kB / 280.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.01442, allocations: 123.8 kB / 281 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.01459, allocations: 179.2 kB / 281.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.0149, allocations: 255.3 kB / 281.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.01618, allocations: 1.109 MB / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01618, allocations: 0 / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01618, allocations: 0 / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.01619, allocations: 0 / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00207/0.01826, allocations: 1.259 MB / 283.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.0183, allocations: 12.03 kB / 283.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.01864, allocations: 179.3 kB / 284 MB, free: 6.078 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.01968, allocations: 0.6048 MB / 284.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.01973, allocations: 57.94 kB / 284.6 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.01986, allocations: 91.94 kB / 284.7 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.02141, allocations: 0.955 MB / 285.7 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.286e-05/0.02145, allocations: 11.92 kB / 285.7 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/0.02152, allocations: 39.94 kB / 285.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.02155, allocations: 24 kB / 285.8 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/0.02251, allocations: 455.3 kB / 286.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1198/0.1423, allocations: 5.854 MB / 292.1 MB, free: 23.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/0.1429, allocations: 293.1 kB / 292.3 MB, free: 23.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.1431, allocations: 128.8 kB / 292.5 MB, free: 23.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.1432, allocations: 19.17 kB / 292.5 MB, free: 23.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.1432, allocations: 41.83 kB / 292.5 MB, free: 23.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.124e-06/0.1433, allocations: 0 / 292.5 MB, free: 23.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.003103/0.1464, allocations: 1.632 MB / 294.2 MB, free: 22.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.1464, allocations: 59 kB / 294.2 MB, free: 22.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/0.1472, allocations: 0.7325 MB / 294.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1472, allocations: 37.33 kB / 295 MB, free: 22.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.1475, allocations: 0.5577 MB / 295.5 MB, free: 21.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1476, allocations: 241.6 kB / 295.8 MB, free: 21.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.1478, allocations: 167.1 kB / 295.9 MB, free: 21.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.148, allocations: 0.5982 MB / 296.5 MB, free: 21.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.1482, allocations: 162.4 kB / 296.7 MB, free: 21.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.1487, allocations: 0.5844 MB / 297.3 MB, free: 20.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007326/0.1494, allocations: 0.8156 MB / 298.1 MB, free: 19.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.1494, allocations: 6.219 kB / 298.1 MB, free: 19.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001097/0.1505, allocations: 0.7799 MB / 298.9 MB, free: 19.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1505, allocations: 9.344 kB / 298.9 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.1506, allocations: 12.62 kB / 298.9 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.1508, allocations: 55.3 kB / 299 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/0.1513, allocations: 180.6 kB / 299.1 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.1524, allocations: 2.175 MB / 301.3 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.1528, allocations: 24.19 kB / 301.3 MB, free: 17.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.1528, allocations: 38.94 kB / 301.4 MB, free: 17.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002632/0.1531, allocations: 280.1 kB / 301.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.1532, allocations: 92.25 kB / 301.7 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.1533, allocations: 73.59 kB / 301.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.1533, allocations: 10.94 kB / 301.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.1534, allocations: 4.375 kB / 301.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.1534, allocations: 3.047 kB / 301.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.1555, allocations: 1.437 MB / 303.3 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.1555, allocations: 8.078 kB / 303.3 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.1559, allocations: 115.3 kB / 303.4 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.673e-05/0.156, allocations: 27.39 kB / 303.4 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.1561, allocations: 19.19 kB / 303.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007166/0.1568, allocations: 1.763 MB / 305.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1568, allocations: 11.27 kB / 305.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.1579, allocations: 0.8809 MB / 306.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.158, allocations: 60.19 kB / 306.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.1581, allocations: 16.23 kB / 306.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.1582, allocations: 20.31 kB / 306.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.1584, allocations: 51.58 kB / 306.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.1584, allocations: 12.03 kB / 306.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005057/0.1589, allocations: 443.9 kB / 306.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1589, allocations: 0 / 306.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000774/0.1597, allocations: 138.7 kB / 306.8 MB, free: 13.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001375/0.1598, allocations: 115.1 kB / 306.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.1608, allocations: 0.6801 MB / 307.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1608, allocations: 4.125 kB / 307.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.1612, allocations: 387.6 kB / 308 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.1618, allocations: 98.5 kB / 308.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.1643, allocations: 1.731 MB / 309.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1647, allocations: 379 kB / 310.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.1649, allocations: 81.72 kB / 310.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.1651, allocations: 62.64 kB / 310.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1651, allocations: 4 kB / 310.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Templates: time 0.01036/0.1754, allocations: 5.297 MB / 315.6 MB, free: 7.508 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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: 4.606313124997541]