Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001125/0.001125, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001156/0.001156, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 1.051/1.051, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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: 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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.036e-05, allocations: 5.125 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006129/0.006159, allocations: 4.412 MB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.009371, allocations: 1.383 MB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004649/0.009836, allocations: 39.69 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.01015, allocations: 182.2 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.01046, allocations: 170.2 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007461/0.0112, allocations: 387.3 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.01228, allocations: 0.9973 MB / 280.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.01266, allocations: 271.4 kB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006166/0.01328, allocations: 0.5028 MB / 281.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.01353, allocations: 235.1 kB / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.394e-05/0.01362, allocations: 72 kB / 281.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.01379, allocations: 123.8 kB / 281.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-05/0.01388, allocations: 171.3 kB / 281.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.01406, allocations: 271.2 kB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.0147, allocations: 0.6845 MB / 282.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.0147, allocations: 0 / 282.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0147, allocations: 0 / 282.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.01472, allocations: 0 / 282.8 MB, free: 7.523 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.001158/0.01587, allocations: 1.189 MB / 283.9 MB, free: 6.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.01592, allocations: 12.03 kB / 284 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.01616, allocations: 183.2 kB / 284.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/0.01684, allocations: 0.6086 MB / 284.7 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.01689, allocations: 58 kB / 284.8 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/0.01699, allocations: 87.95 kB / 284.9 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/0.01791, allocations: 0.8117 MB / 285.7 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.01794, allocations: 7.938 kB / 285.7 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.01798, allocations: 39.94 kB / 285.7 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.01801, allocations: 24 kB / 285.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.01848, allocations: 339.3 kB / 286.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1379/0.1563, allocations: 5.56 MB / 291.7 MB, free: 21.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.1568, allocations: 218.4 kB / 291.9 MB, free: 21.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.157, allocations: 85.84 kB / 292 MB, free: 21.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.1571, allocations: 17.47 kB / 292 MB, free: 21.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1571, allocations: 40.33 kB / 292 MB, free: 21.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.625e-06/0.1571, allocations: 0 / 292 MB, free: 21.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.00219/0.1593, allocations: 1.366 MB / 293.4 MB, free: 21.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.1593, allocations: 61.47 kB / 293.4 MB, free: 20.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.1598, allocations: 0.5678 MB / 294 MB, free: 20.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1598, allocations: 37.55 kB / 294 MB, free: 20.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.16, allocations: 0.5262 MB / 294.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.1601, allocations: 220.4 kB / 294.8 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.1603, allocations: 143.1 kB / 294.9 MB, free: 20.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1604, allocations: 0.5526 MB / 295.5 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.1606, allocations: 90.84 kB / 295.6 MB, free: 19.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.1609, allocations: 0.499 MB / 296.1 MB, free: 19.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/0.1614, allocations: 0.6588 MB / 296.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1614, allocations: 3.25 kB / 296.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0007804/0.1622, allocations: 0.6452 MB / 297.4 MB, free: 18.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1623, allocations: 13.22 kB / 297.4 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.1623, allocations: 12.5 kB / 297.4 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.1624, allocations: 44.64 kB / 297.4 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.1628, allocations: 179.5 kB / 297.6 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008552/0.1637, allocations: 2.087 MB / 299.7 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.1638, allocations: 32.44 kB / 299.7 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.1639, allocations: 36.31 kB / 299.8 MB, free: 16.69 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.0001474/0.164, allocations: 209.6 kB / 300 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/0.1641, allocations: 91.81 kB / 300.1 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.1642, allocations: 77.69 kB / 300.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1642, allocations: 10.81 kB / 300.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.1642, allocations: 5.562 kB / 300.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.1642, allocations: 3.562 kB / 300.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.1656, allocations: 1.151 MB / 301.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.1656, allocations: 7.438 kB / 301.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.1659, allocations: 111.6 kB / 301.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.88e-05/0.166, allocations: 23.5 kB / 301.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.166, allocations: 15.06 kB / 301.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000572/0.1666, allocations: 1.735 MB / 303.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1666, allocations: 3.719 kB / 303.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.1674, allocations: 0.7088 MB / 303.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.1675, allocations: 60.67 kB / 304 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.1675, allocations: 16 kB / 304 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.1677, allocations: 14.17 kB / 304 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.984e-05/0.1678, allocations: 54.31 kB / 304.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.1678, allocations: 17.59 kB / 304.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003217/0.1681, allocations: 357.8 kB / 304.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1681, allocations: 0 / 304.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004995/0.1686, allocations: 138.3 kB / 304.6 MB, free: 13.14 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.0001171/0.1688, allocations: 119.3 kB / 304.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000703/0.1695, allocations: 0.5527 MB / 305.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1695, allocations: 5.156 kB / 305.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.1697, allocations: 326.3 kB / 305.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1701, allocations: 106.8 kB / 305.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.1722, allocations: 1.655 MB / 307.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.1724, allocations: 165.9 kB / 307.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.1725, allocations: 87.06 kB / 307.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1727, allocations: 62.05 kB / 307.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1727, allocations: 0 / 307.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of Templates: time 0.0086/0.1813, allocations: 5.283 MB / 312.9 MB, free: 9.211 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1488433168269694]