Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000854/0.000854, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.000824/0.000824, allocations: 157.5 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8426/0.8426, allocations: 158.6 MB / 187.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.888e-05, allocations: 3.828 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003819/0.003847, allocations: 4.089 MB / 303.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.00567, allocations: 1.334 MB / 305.1 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.005941, allocations: 27.75 kB / 305.1 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.006216, allocations: 186.2 kB / 305.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.006449, allocations: 174.2 kB / 305.5 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.007028, allocations: 375.3 kB / 305.9 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000616/0.007644, allocations: 0.9974 MB / 306.9 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.007961, allocations: 271.4 kB / 307.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.008321, allocations: 0.491 MB / 307.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.008524, allocations: 231.1 kB / 307.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.008589, allocations: 72 kB / 307.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.008726, allocations: 119.9 kB / 308 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.393e-05/0.00881, allocations: 179.2 kB / 308.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.008956, allocations: 255.3 kB / 308.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006963/0.009653, allocations: 1.098 MB / 309.5 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.009655, allocations: 0 / 309.5 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.009656, allocations: 0 / 309.5 MB, free: 13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.009664, allocations: 0 / 309.5 MB, free: 13 MB / 298.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.0009713/0.01063, allocations: 1.096 MB / 310.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.01067, allocations: 8.031 kB / 310.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.01077, allocations: 115.2 kB / 310.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/0.0114, allocations: 0.559 MB / 311.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.01143, allocations: 58 kB / 311.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.01151, allocations: 87.94 kB / 311.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.01232, allocations: 0.8365 MB / 312.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.01235, allocations: 11.92 kB / 312.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.01239, allocations: 35.94 kB / 312.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.01241, allocations: 20 kB / 312.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.01295, allocations: 475.3 kB / 312.8 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.0151, allocations: 4.07 MB / 316.9 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.01546, allocations: 299.5 kB / 317.2 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.01559, allocations: 133.6 kB / 317.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-05/0.01568, allocations: 16.36 kB / 317.3 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.0157, allocations: 34.94 kB / 317.4 MB, free: 4.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 2.074e-06/0.0157, allocations: 0 / 317.4 MB, free: 4.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.001944/0.01765, allocations: 1.6 MB / 319 MB, free: 3.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.01768, allocations: 55.91 kB / 319 MB, free: 3.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.01806, allocations: 0.5469 MB / 319.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.01808, allocations: 33.7 kB / 319.6 MB, free: 2.492 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.01829, allocations: 491.7 kB / 320.1 MB, free: 2.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.01839, allocations: 222.1 kB / 320.3 MB, free: 1.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.0185, allocations: 142.6 kB / 320.4 MB, free: 1.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.01861, allocations: 378.7 kB / 320.8 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.01879, allocations: 165.9 kB / 321 MB, free: 1.098 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.01909, allocations: 455.3 kB / 321.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.01962, allocations: 0.6683 MB / 322.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.01963, allocations: 4 kB / 322.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0006904/0.02032, allocations: 0.7402 MB / 322.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.02033, allocations: 12 kB / 322.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.02034, allocations: 8 kB / 322.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.02046, allocations: 52.78 kB / 322.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.02078, allocations: 179.7 kB / 323.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008899/0.02167, allocations: 1.555 MB / 324.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.02182, allocations: 32.16 kB / 324.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.02185, allocations: 39.98 kB / 324.7 MB, free: 13 MB / 314.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.000188/0.02204, allocations: 229.5 kB / 324.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.0221, allocations: 75.53 kB / 325 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.806e-05/0.02216, allocations: 75.08 kB / 325.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02217, allocations: 7.938 kB / 325.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.02217, allocations: 4 kB / 325.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.02218, allocations: 7.969 kB / 325.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.02326, allocations: 1.187 MB / 326.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02327, allocations: 0 / 326.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.02351, allocations: 111.9 kB / 326.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.043e-05/0.02356, allocations: 29.19 kB / 326.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.02358, allocations: 19.94 kB / 326.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00053/0.02411, allocations: 1.245 MB / 327.7 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.02412, allocations: 0 / 327.7 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.02475, allocations: 0.7731 MB / 328.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.02479, allocations: 67.52 kB / 328.5 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.02482, allocations: 16 kB / 328.5 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.02492, allocations: 12 kB / 328.5 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.02498, allocations: 47.89 kB / 328.6 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.02499, allocations: 16 kB / 328.6 MB, free: 8.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002379/0.02523, allocations: 363.1 kB / 329 MB, free: 8.488 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02523, allocations: 0 / 329 MB, free: 8.488 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003503/0.02558, allocations: 140 kB / 329.1 MB, free: 8.352 MB / 314.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.0001086/0.02569, allocations: 123 kB / 329.2 MB, free: 8.219 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005904/0.02628, allocations: 0.565 MB / 329.8 MB, free: 7.641 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02628, allocations: 0 / 329.8 MB, free: 7.641 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.0265, allocations: 302.3 kB / 330.1 MB, free: 7.332 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.02689, allocations: 99.69 kB / 330.2 MB, free: 7.238 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.02844, allocations: 1.669 MB / 331.8 MB, free: 5.496 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.02866, allocations: 370.3 kB / 332.2 MB, free: 5.109 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.02876, allocations: 72.66 kB / 332.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02876, allocations: 0 / 332.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of Templates: time 0.0093/0.03806, allocations: 12.78 MB / 345.1 MB, free: 8.23 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.495831334032118]