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.001396/0.001396, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001539/0.001539, 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 0.939/0.939, allocations: 177 MB / 204.8 MB, free: 5.562 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.163e-06/1.163e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.799e-05, allocations: 10.25 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003989/0.004007, allocations: 4.401 MB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.005873, allocations: 1.395 MB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.006148, allocations: 35.69 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.006416, allocations: 178.2 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.00668, allocations: 186.1 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.007237, allocations: 387.3 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.007889, allocations: 0.9974 MB / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.008185, allocations: 271.4 kB / 280.7 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004389/0.008624, allocations: 0.5066 MB / 281.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.008819, allocations: 239.1 kB / 281.5 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/0.008884, allocations: 72 kB / 281.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.009021, allocations: 119.9 kB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.009101, allocations: 175.3 kB / 281.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.009468, allocations: 263.2 kB / 282.1 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.009978, allocations: 0.6845 MB / 282.8 MB, free: 7.508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.009981, allocations: 4 kB / 282.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.009981, allocations: 0 / 282.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.009988, allocations: 0 / 282.8 MB, free: 7.504 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.000935/0.01092, allocations: 1.193 MB / 284 MB, free: 6.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.01095, allocations: 8.031 kB / 284 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.01116, allocations: 183.3 kB / 284.2 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.01172, allocations: 0.6008 MB / 284.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.01175, allocations: 62 kB / 284.8 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.01182, allocations: 95.88 kB / 284.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.01255, allocations: 0.8117 MB / 285.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.01258, allocations: 7.938 kB / 285.7 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.01262, allocations: 39.94 kB / 285.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.01263, allocations: 20 kB / 285.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.01305, allocations: 335.3 kB / 286.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1429/0.1559, allocations: 5.564 MB / 291.7 MB, free: 21.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.1563, allocations: 217.4 kB / 291.9 MB, free: 21.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1564, allocations: 85.56 kB / 292 MB, free: 21.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.1566, allocations: 21.05 kB / 292 MB, free: 21.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1567, allocations: 41.02 kB / 292 MB, free: 21.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.836e-06/0.1567, allocations: 0 / 292 MB, free: 21.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.002213/0.1589, allocations: 1.362 MB / 293.4 MB, free: 21.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.1589, allocations: 59.75 kB / 293.5 MB, free: 20.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.1594, allocations: 0.5726 MB / 294 MB, free: 20.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1594, allocations: 34.64 kB / 294.1 MB, free: 20.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.1596, allocations: 0.5283 MB / 294.6 MB, free: 20.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.1597, allocations: 218.7 kB / 294.8 MB, free: 20.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.1599, allocations: 146 kB / 294.9 MB, free: 20.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.16, allocations: 0.5513 MB / 295.5 MB, free: 19.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.1601, allocations: 92.22 kB / 295.6 MB, free: 19.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.1604, allocations: 0.496 MB / 296.1 MB, free: 19.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.1608, allocations: 0.6533 MB / 296.7 MB, free: 18.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.1608, allocations: 2.656 kB / 296.7 MB, free: 18.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0007364/0.1616, allocations: 0.6555 MB / 297.4 MB, free: 18.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1616, allocations: 8.078 kB / 297.4 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.1616, allocations: 10.62 kB / 297.4 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.1618, allocations: 43.95 kB / 297.5 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.1621, allocations: 183.1 kB / 297.6 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000795/0.1629, allocations: 2.087 MB / 299.7 MB, free: 16.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1631, allocations: 29.89 kB / 299.8 MB, free: 16.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.1631, allocations: 34.83 kB / 299.8 MB, free: 16.67 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.0001359/0.1633, allocations: 214.8 kB / 300 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.1634, allocations: 92.19 kB / 300.1 MB, free: 16.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.1634, allocations: 77.08 kB / 300.2 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1634, allocations: 10.73 kB / 300.2 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.1634, allocations: 4.75 kB / 300.2 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1634, allocations: 3 kB / 300.2 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1645, allocations: 1.148 MB / 301.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1645, allocations: 5.969 kB / 301.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.1648, allocations: 120.9 kB / 301.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.154e-05/0.1648, allocations: 26.03 kB / 301.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.1649, allocations: 15.03 kB / 301.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004098/0.1653, allocations: 1.725 MB / 303.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.1653, allocations: 6.438 kB / 303.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.1659, allocations: 0.7098 MB / 303.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.1659, allocations: 68.42 kB / 304 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.1659, allocations: 15.83 kB / 304 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.166, allocations: 9.344 kB / 304 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.1661, allocations: 51.14 kB / 304.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.1661, allocations: 17.72 kB / 304.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000259/0.1664, allocations: 357 kB / 304.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1664, allocations: 1.062 kB / 304.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004237/0.1668, allocations: 137.2 kB / 304.6 MB, free: 13.11 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.712e-05/0.1669, allocations: 120.1 kB / 304.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005584/0.1675, allocations: 0.5545 MB / 305.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1675, allocations: 384 / 305.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.1677, allocations: 327.1 kB / 305.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1681, allocations: 100.4 kB / 305.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.1698, allocations: 1.659 MB / 307.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.17, allocations: 165.9 kB / 307.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.1701, allocations: 87.66 kB / 307.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.1702, allocations: 62.45 kB / 307.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of SimCode: time 3.717e-06/0.1702, allocations: 0 / 307.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Templates: time 0.008337/0.1786, allocations: 5.544 MB / 313.2 MB, free: 8.941 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: 2.895078038331121]