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.001413/0.001413, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001491/0.001491, allocations: 156.9 kB / 24.27 MB, free: 168 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.474/1.474, allocations: 177 MB / 204.5 MB, free: 5.637 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.613e-06/1.613e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.171e-05/3.332e-05, allocations: 6.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006663/0.006696, allocations: 4.121 MB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.009587, allocations: 1.364 MB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.009964, allocations: 31.75 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.01038, allocations: 178.2 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.01079, allocations: 182.1 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000863/0.01165, allocations: 383.3 kB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.01295, allocations: 0.9974 MB / 279.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005305/0.01349, allocations: 271.4 kB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007985/0.01428, allocations: 0.495 MB / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.01467, allocations: 239.1 kB / 280.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.01479, allocations: 72 kB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.01505, allocations: 123.8 kB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.01522, allocations: 179.2 kB / 280.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.01553, allocations: 255.3 kB / 281 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.0172, allocations: 1.101 MB / 282.1 MB, free: 7.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.01721, allocations: 0 / 282.1 MB, free: 7.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01721, allocations: 0 / 282.1 MB, free: 7.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.71e-05/0.01724, allocations: 0 / 282.1 MB, free: 7.82 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.001924/0.01916, allocations: 1.093 MB / 283.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.0192, allocations: 12.02 kB / 283.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003981/0.0196, allocations: 179.3 kB / 283.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.02073, allocations: 0.6059 MB / 284 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.02079, allocations: 58 kB / 284.1 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.02092, allocations: 83.95 kB / 284.2 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.02249, allocations: 0.8404 MB / 285 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.02252, allocations: 11.94 kB / 285 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.0226, allocations: 39.94 kB / 285.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.02262, allocations: 20 kB / 285.1 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.02363, allocations: 471.3 kB / 285.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.137/0.1607, allocations: 4.103 MB / 289.6 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.1614, allocations: 277.5 kB / 289.9 MB, free: 27.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.1616, allocations: 131.7 kB / 290 MB, free: 27.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.1617, allocations: 21.25 kB / 290.1 MB, free: 27.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1618, allocations: 38.41 kB / 290.1 MB, free: 27.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.104e-06/0.1618, allocations: 0 / 290.1 MB, free: 27.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.003229/0.165, allocations: 1.613 MB / 291.7 MB, free: 27.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.165, allocations: 57.81 kB / 291.8 MB, free: 27.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/0.1656, allocations: 0.5542 MB / 292.3 MB, free: 26.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1657, allocations: 40.89 kB / 292.4 MB, free: 26.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.1659, allocations: 489.5 kB / 292.8 MB, free: 26.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.166, allocations: 219.6 kB / 293.1 MB, free: 26.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.1662, allocations: 140 kB / 293.2 MB, free: 26.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.1663, allocations: 386.7 kB / 293.6 MB, free: 26.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.1665, allocations: 159.3 kB / 293.7 MB, free: 25.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.1669, allocations: 454.2 kB / 294.2 MB, free: 25.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006903/0.1676, allocations: 0.6705 MB / 294.8 MB, free: 25.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1676, allocations: 2.719 kB / 294.8 MB, free: 25.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001132/0.1687, allocations: 0.778 MB / 295.6 MB, free: 24.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.1688, allocations: 12.12 kB / 295.6 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.1688, allocations: 10.03 kB / 295.6 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.169, allocations: 48.59 kB / 295.7 MB, free: 24.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.1696, allocations: 177.4 kB / 295.9 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009941/0.1706, allocations: 1.564 MB / 297.4 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.1709, allocations: 26.94 kB / 297.5 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.1709, allocations: 37.62 kB / 297.5 MB, free: 23.18 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.0002615/0.1712, allocations: 232.5 kB / 297.7 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.1713, allocations: 96.02 kB / 297.8 MB, free: 22.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.1714, allocations: 72.83 kB / 297.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1714, allocations: 10.12 kB / 297.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.1714, allocations: 5.406 kB / 297.9 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.1714, allocations: 6.422 kB / 297.9 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.1731, allocations: 1.188 MB / 299.1 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.1731, allocations: 7.219 kB / 299.1 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.1736, allocations: 113.2 kB / 299.2 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.874e-05/0.1737, allocations: 28.91 kB / 299.2 MB, free: 22.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.1738, allocations: 15.59 kB / 299.3 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006764/0.1744, allocations: 1.245 MB / 300.5 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.1744, allocations: 6.938 kB / 300.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.1754, allocations: 0.7933 MB / 301.3 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.1755, allocations: 65.42 kB / 301.4 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.1756, allocations: 15.8 kB / 301.4 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.1758, allocations: 15.91 kB / 301.4 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.1759, allocations: 48.67 kB / 301.4 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.1759, allocations: 17.06 kB / 301.5 MB, free: 20.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003991/0.1763, allocations: 364.4 kB / 301.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1763, allocations: 0 / 301.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007145/0.177, allocations: 138.9 kB / 301.9 MB, free: 20.18 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.0001503/0.1772, allocations: 117.1 kB / 302.1 MB, free: 20.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009662/0.1781, allocations: 0.56 MB / 302.6 MB, free: 19.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1781, allocations: 0 / 302.6 MB, free: 19.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.1785, allocations: 305.7 kB / 302.9 MB, free: 19.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.1791, allocations: 105.3 kB / 303 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.1814, allocations: 1.673 MB / 304.7 MB, free: 18.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.1818, allocations: 375.4 kB / 305.1 MB, free: 18.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000277/0.1821, allocations: 91.61 kB / 305.2 MB, free: 18.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1822, allocations: 60.92 kB / 305.2 MB, free: 18.36 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1822, allocations: 0 / 305.2 MB, free: 18.36 MB / 266.7 MB Notification: Performance of Templates: time 0.01008/0.1923, allocations: 5.268 MB / 310.5 MB, free: 15.15 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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.572675505070947]