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.0009286/0.0009286, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009531/0.0009531, allocations: 165 kB / 24.56 MB, free: 16 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 0.9703/0.9703, allocations: 177.2 MB / 205 MB, free: 5.309 MB / 186.7 MB " [Timeout remaining time 179] 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.442e-06/1.442e-06, allocations: 0 / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.416e-05, allocations: 5.266 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.00469/0.004724, allocations: 4.408 MB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.007238, allocations: 1.387 MB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.007632, allocations: 31.69 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.007956, allocations: 182.2 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.008294, allocations: 190 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.009013, allocations: 383.3 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007997/0.009813, allocations: 1.001 MB / 280.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.01017, allocations: 271.4 kB / 280.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005611/0.01073, allocations: 0.5067 MB / 281.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.01097, allocations: 231.1 kB / 281.5 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.478e-05/0.01104, allocations: 75.98 kB / 281.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.01122, allocations: 123.8 kB / 281.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.802e-05/0.01132, allocations: 179.2 kB / 281.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.01148, allocations: 259.3 kB / 282.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007022/0.01218, allocations: 0.6806 MB / 282.8 MB, free: 7.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.01219, allocations: 4 kB / 282.8 MB, free: 7.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01219, allocations: 0 / 282.8 MB, free: 7.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.0122, allocations: 0 / 282.8 MB, free: 7.469 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.001404/0.01361, allocations: 1.193 MB / 284 MB, free: 6.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.01365, allocations: 8.031 kB / 284 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.0139, allocations: 187.3 kB / 284.2 MB, free: 6.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.01452, allocations: 0.6008 MB / 284.8 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.01455, allocations: 58 kB / 284.9 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.966e-05/0.01463, allocations: 83.95 kB / 285 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008355/0.01547, allocations: 0.8158 MB / 285.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.0155, allocations: 7.938 kB / 285.8 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.01554, allocations: 43.94 kB / 285.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.01556, allocations: 24 kB / 285.9 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.01603, allocations: 331.3 kB / 286.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1414/0.1574, allocations: 5.572 MB / 291.8 MB, free: 21.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.1579, allocations: 215.3 kB / 292 MB, free: 21.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.158, allocations: 85.56 kB / 292 MB, free: 21.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.652e-05/0.1581, allocations: 20.19 kB / 292.1 MB, free: 21.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.1581, allocations: 40.17 kB / 292.1 MB, free: 21.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.244e-06/0.1581, allocations: 1.344 kB / 292.1 MB, free: 21.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.002028/0.1601, allocations: 1.365 MB / 293.5 MB, free: 21.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.1602, allocations: 58.91 kB / 293.5 MB, free: 20.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.1606, allocations: 0.5739 MB / 294.1 MB, free: 20.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1606, allocations: 32.45 kB / 294.1 MB, free: 20.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.1608, allocations: 0.5249 MB / 294.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.161, allocations: 223.3 kB / 294.9 MB, free: 20.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.1611, allocations: 141.8 kB / 295 MB, free: 20.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1612, allocations: 0.5523 MB / 295.6 MB, free: 19.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1613, allocations: 92.88 kB / 295.7 MB, free: 19.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.1616, allocations: 0.5043 MB / 296.2 MB, free: 19.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.162, allocations: 0.6552 MB / 296.8 MB, free: 18.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1621, allocations: 5.844 kB / 296.8 MB, free: 18.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0007188/0.1628, allocations: 0.6489 MB / 297.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1628, allocations: 9.125 kB / 297.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1628, allocations: 10 kB / 297.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.1629, allocations: 47.44 kB / 297.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.1633, allocations: 181.8 kB / 297.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007459/0.1641, allocations: 2.091 MB / 299.8 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.1642, allocations: 25.38 kB / 299.8 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.1643, allocations: 42.34 kB / 299.9 MB, free: 16.73 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.0001412/0.1644, allocations: 207.9 kB / 300.1 MB, free: 16.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.1645, allocations: 92.84 kB / 300.2 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.52e-05/0.1646, allocations: 73.17 kB / 300.2 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1646, allocations: 9.25 kB / 300.2 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1646, allocations: 2 kB / 300.2 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1646, allocations: 4.281 kB / 300.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.1657, allocations: 1.156 MB / 301.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1657, allocations: 6.594 kB / 301.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.166, allocations: 113.5 kB / 301.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-05/0.166, allocations: 28.89 kB / 301.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.1661, allocations: 16.03 kB / 301.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003886/0.1665, allocations: 1.729 MB / 303.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1665, allocations: 2.5 kB / 303.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.167, allocations: 0.7102 MB / 304 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.1671, allocations: 64.36 kB / 304.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.1671, allocations: 20.16 kB / 304.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1672, allocations: 13.61 kB / 304.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.1673, allocations: 43.14 kB / 304.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1673, allocations: 17.16 kB / 304.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002597/0.1676, allocations: 357.5 kB / 304.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1676, allocations: 0 / 304.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004368/0.168, allocations: 142.8 kB / 304.7 MB, free: 13.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 9.677e-05/0.1681, allocations: 123.7 kB / 304.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005795/0.1687, allocations: 0.5461 MB / 305.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1687, allocations: 5.281 kB / 305.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.1689, allocations: 326.4 kB / 305.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.1693, allocations: 101 kB / 305.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.171, allocations: 1.655 MB / 307.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.1711, allocations: 163.8 kB / 307.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.1713, allocations: 87.19 kB / 307.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.1714, allocations: 60.81 kB / 307.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1714, allocations: 0 / 307.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of Templates: time 0.008125/0.1795, allocations: 5.542 MB / 313.2 MB, free: 9.039 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8774913218803704]