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.001968/0.001968, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.00205/0.00205, allocations: 160.8 kB / 24.27 MB, free: 156 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.561/1.561, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.644e-06/1.644e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.95e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.009966/0.009995, allocations: 4.362 MB / 276.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004253/0.01425, allocations: 1.383 MB / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007189/0.01497, allocations: 31.75 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.01563, allocations: 178.2 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006573/0.01628, allocations: 178.1 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.01788, allocations: 379.3 kB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001774/0.01965, allocations: 1.005 MB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006914/0.02035, allocations: 271.4 kB / 280 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.02144, allocations: 0.4911 MB / 280.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.02184, allocations: 243.1 kB / 280.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.02197, allocations: 76 kB / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.02233, allocations: 115.9 kB / 280.9 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.0226, allocations: 183.2 kB / 281.1 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.02306, allocations: 263.2 kB / 281.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.02499, allocations: 1.105 MB / 282.4 MB, free: 7.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.02499, allocations: 0 / 282.4 MB, free: 7.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.02499, allocations: 0 / 282.4 MB, free: 7.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.02501, allocations: 0 / 282.4 MB, free: 7.52 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.002974/0.02798, allocations: 1.262 MB / 283.7 MB, free: 6.215 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.02803, allocations: 8.031 kB / 283.7 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.02842, allocations: 183.3 kB / 283.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.02997, allocations: 0.6047 MB / 284.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.811e-05/0.03006, allocations: 58 kB / 284.5 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.03024, allocations: 83.95 kB / 284.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.03242, allocations: 0.9628 MB / 285.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.58e-05/0.03247, allocations: 11.94 kB / 285.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.03253, allocations: 35.94 kB / 285.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.03256, allocations: 20 kB / 285.6 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.03426, allocations: 459.3 kB / 286.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1319/0.1662, allocations: 5.855 MB / 291.9 MB, free: 23.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.1668, allocations: 292 kB / 292.2 MB, free: 23.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.167, allocations: 131.9 kB / 292.4 MB, free: 23.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.1672, allocations: 21.88 kB / 292.4 MB, free: 23.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.1672, allocations: 43.45 kB / 292.4 MB, free: 23.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.944e-06/0.1672, allocations: 0 / 292.4 MB, free: 23.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.002936/0.1701, allocations: 1.628 MB / 294 MB, free: 22.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.1701, allocations: 62.28 kB / 294.1 MB, free: 22.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006781/0.1708, allocations: 0.728 MB / 294.8 MB, free: 22.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1708, allocations: 36.02 kB / 294.9 MB, free: 22.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.1711, allocations: 0.5649 MB / 295.4 MB, free: 21.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.1712, allocations: 241.5 kB / 295.7 MB, free: 21.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.1714, allocations: 166.3 kB / 295.8 MB, free: 21.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1716, allocations: 0.5996 MB / 296.4 MB, free: 21.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.1719, allocations: 157.1 kB / 296.6 MB, free: 21.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.1723, allocations: 0.5834 MB / 297.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.173, allocations: 0.8085 MB / 298 MB, free: 19.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.173, allocations: 6.047 kB / 298 MB, free: 19.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001041/0.174, allocations: 0.7873 MB / 298.8 MB, free: 19.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.174, allocations: 10.14 kB / 298.8 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.174, allocations: 9.969 kB / 298.8 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.1742, allocations: 51.34 kB / 298.8 MB, free: 19.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.1748, allocations: 181.5 kB / 299 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.1758, allocations: 2.176 MB / 301.2 MB, free: 17.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.1761, allocations: 28.5 kB / 301.2 MB, free: 17.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.1762, allocations: 34.56 kB / 301.3 MB, free: 17.27 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.000235/0.1764, allocations: 280.1 kB / 301.5 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1765, allocations: 91.75 kB / 301.6 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.1766, allocations: 74.64 kB / 301.7 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1766, allocations: 11.72 kB / 301.7 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1766, allocations: 1.828 kB / 301.7 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.1766, allocations: 3.469 kB / 301.7 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.1786, allocations: 1.442 MB / 303.1 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.1786, allocations: 10.27 kB / 303.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000463/0.179, allocations: 112.8 kB / 303.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.773e-05/0.1791, allocations: 23.31 kB / 303.3 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.1792, allocations: 15.83 kB / 303.3 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006509/0.1798, allocations: 1.779 MB / 305.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1798, allocations: 3.281 kB / 305.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/0.1808, allocations: 0.8793 MB / 306 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.1809, allocations: 63.62 kB / 306 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.1809, allocations: 14.2 kB / 306 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1811, allocations: 14.62 kB / 306.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.1812, allocations: 46.47 kB / 306.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.1813, allocations: 18.45 kB / 306.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004137/0.1817, allocations: 445.9 kB / 306.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1817, allocations: 0 / 306.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006384/0.1823, allocations: 137.5 kB / 306.7 MB, free: 13.36 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.0001237/0.1824, allocations: 120.8 kB / 306.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009283/0.1834, allocations: 0.6786 MB / 307.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1834, allocations: 1.219 kB / 307.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.1837, allocations: 383.1 kB / 307.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.1843, allocations: 106.2 kB / 308 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1865, allocations: 1.728 MB / 309.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1869, allocations: 380.8 kB / 310.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003189/0.1872, allocations: 89.91 kB / 310.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.1873, allocations: 61.06 kB / 310.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1873, allocations: 0 / 310.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of Templates: time 0.01103/0.1984, allocations: 5.292 MB / 315.5 MB, free: 7.488 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.728940069093369]