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.001006/0.001006, 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.001015/0.001015, allocations: 161 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 1.018/1.018, allocations: 177.1 MB / 205 MB, free: 5.586 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.714e-06/1.714e-06, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.609e-05, allocations: 6.312 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.00422/0.004246, allocations: 4.403 MB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.006199, allocations: 1.391 MB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.006488, allocations: 31.69 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.006808, allocations: 178.2 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.007077, allocations: 178.2 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006821/0.007759, allocations: 383.3 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007311/0.008491, allocations: 1.001 MB / 280.5 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/0.008831, allocations: 267.4 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.009308, allocations: 0.495 MB / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.009548, allocations: 239.1 kB / 281.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.009622, allocations: 72 kB / 281.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.0098, allocations: 123.8 kB / 281.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.009901, allocations: 179.2 kB / 281.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.01008, allocations: 263.2 kB / 282.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.01075, allocations: 0.6845 MB / 282.8 MB, free: 7.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.01076, allocations: 4 kB / 282.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.01076, allocations: 0 / 282.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.01077, allocations: 0 / 282.8 MB, free: 7.594 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.001262/0.01203, allocations: 1.189 MB / 284 MB, free: 6.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.01207, allocations: 8.031 kB / 284 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.01231, allocations: 183.3 kB / 284.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.01296, allocations: 0.6086 MB / 284.8 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.013, allocations: 62 kB / 284.9 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.756e-05/0.01307, allocations: 79.95 kB / 284.9 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/0.01389, allocations: 0.8159 MB / 285.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.01392, allocations: 7.938 kB / 285.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.01396, allocations: 39.94 kB / 285.8 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.01398, allocations: 23.98 kB / 285.8 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.01444, allocations: 331.3 kB / 286.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1222/0.1366, allocations: 5.574 MB / 291.7 MB, free: 21.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.1372, allocations: 215.9 kB / 291.9 MB, free: 21.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.1374, allocations: 85.53 kB / 292 MB, free: 21.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.1375, allocations: 21.94 kB / 292 MB, free: 21.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.1375, allocations: 37.31 kB / 292.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 3.046e-06/0.1375, allocations: 1.688 kB / 292.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.002262/0.1398, allocations: 1.368 MB / 293.5 MB, free: 21.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.1398, allocations: 58.5 kB / 293.5 MB, free: 21.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.1403, allocations: 0.5694 MB / 294.1 MB, free: 20.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1403, allocations: 35.48 kB / 294.1 MB, free: 20.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.1405, allocations: 0.5273 MB / 294.6 MB, free: 20.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.1407, allocations: 222.2 kB / 294.9 MB, free: 20.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.1408, allocations: 142.4 kB / 295 MB, free: 20.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1409, allocations: 0.5517 MB / 295.5 MB, free: 19.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1411, allocations: 92.25 kB / 295.6 MB, free: 19.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.1414, allocations: 0.5031 MB / 296.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.1419, allocations: 0.6529 MB / 296.8 MB, free: 18.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1419, allocations: 2.719 kB / 296.8 MB, free: 18.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0007776/0.1426, allocations: 0.6577 MB / 297.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.1427, allocations: 10.33 kB / 297.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.1427, allocations: 9.031 kB / 297.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.1429, allocations: 47.75 kB / 297.5 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.1432, allocations: 176 kB / 297.7 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008647/0.1441, allocations: 2.092 MB / 299.8 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.1443, allocations: 27.5 kB / 299.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.1443, allocations: 35.05 kB / 299.8 MB, free: 16.74 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.0001436/0.1445, allocations: 209.4 kB / 300.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.1446, allocations: 93.05 kB / 300.1 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.476e-05/0.1446, allocations: 76.69 kB / 300.2 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1446, allocations: 9.469 kB / 300.2 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.1446, allocations: 1.188 kB / 300.2 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1446, allocations: 5.016 kB / 300.2 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.1459, allocations: 1.15 MB / 301.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.1459, allocations: 7.562 kB / 301.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.1462, allocations: 116.2 kB / 301.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.908e-05/0.1463, allocations: 27.16 kB / 301.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.1463, allocations: 14.75 kB / 301.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000452/0.1467, allocations: 1.732 MB / 303.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1467, allocations: 7.344 kB / 303.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.1473, allocations: 0.7076 MB / 304 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.1474, allocations: 62.06 kB / 304.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.1474, allocations: 18.25 kB / 304.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1476, allocations: 16.98 kB / 304.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.1476, allocations: 43.19 kB / 304.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.1476, allocations: 17.5 kB / 304.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002683/0.1479, allocations: 362.9 kB / 304.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1479, allocations: 0.5469 kB / 304.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005124/0.1484, allocations: 139.3 kB / 304.6 MB, free: 13.19 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.0001286/0.1486, allocations: 122.9 kB / 304.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006961/0.1493, allocations: 0.5495 MB / 305.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1493, allocations: 0 / 305.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.1495, allocations: 327.1 kB / 305.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.1499, allocations: 102.4 kB / 305.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.1522, allocations: 1.651 MB / 307.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.1524, allocations: 165.7 kB / 307.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.1526, allocations: 86.8 kB / 307.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1527, allocations: 61.23 kB / 307.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1527, allocations: 1.375 kB / 307.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of Templates: time 0.009198/0.1619, allocations: 5.306 MB / 313 MB, free: 9.238 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: 3.060727892909199]