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.001016/0.001016, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.002637, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007695/0.0007695, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009746/0.001744, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.056/1.056, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2052/1.261, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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 2.635e-06/2.635e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/2.069e-05, allocations: 6.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004934/0.004955, allocations: 4.356 MB / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.008266, allocations: 1.427 MB / 227.8 MB, free: 10.25 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005831/0.008849, allocations: 31.69 kB / 227.8 MB, free: 10.22 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.009185, allocations: 178.2 kB / 228 MB, free: 10.04 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.009641, allocations: 194 kB / 228.2 MB, free: 9.852 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009126/0.01055, allocations: 367.3 kB / 228.5 MB, free: 9.492 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.01165, allocations: 0.978 MB / 229.5 MB, free: 8.512 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000399/0.01205, allocations: 279.3 kB / 229.8 MB, free: 8.211 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.01311, allocations: 0.5262 MB / 230.3 MB, free: 7.684 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006251/0.01374, allocations: 239.1 kB / 230.5 MB, free: 7.449 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.01389, allocations: 72 kB / 230.6 MB, free: 7.379 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.01422, allocations: 119.9 kB / 230.7 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.01431, allocations: 139.4 kB / 230.8 MB, free: 7.125 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.01454, allocations: 215.4 kB / 231.1 MB, free: 6.914 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.01559, allocations: 0.6378 MB / 231.7 MB, free: 6.273 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.366e-05/0.01561, allocations: 0 / 231.7 MB, free: 6.273 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.01561, allocations: 0 / 231.7 MB, free: 6.273 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.546e-05/0.01565, allocations: 7.984 kB / 231.7 MB, free: 6.266 MB / 234.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.001707/0.01736, allocations: 1.251 MB / 233 MB, free: 4.988 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.439e-05/0.01742, allocations: 12.03 kB / 233 MB, free: 4.977 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.0176, allocations: 123.9 kB / 233.1 MB, free: 4.855 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.01889, allocations: 0.4966 MB / 233.6 MB, free: 4.332 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.01894, allocations: 58 kB / 233.6 MB, free: 4.273 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.01905, allocations: 87.94 kB / 233.7 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009806/0.02003, allocations: 0.7794 MB / 234.5 MB, free: 3.281 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/0.02008, allocations: 7.984 kB / 234.5 MB, free: 3.273 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/0.02013, allocations: 35.94 kB / 234.5 MB, free: 3.238 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.02015, allocations: 24 kB / 234.6 MB, free: 3.215 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.02057, allocations: 265.3 kB / 234.8 MB, free: 2.953 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.02379, allocations: 3.745 MB / 238.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.02411, allocations: 184.1 kB / 238.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.02419, allocations: 73.5 kB / 238.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.0243, allocations: 24.36 kB / 238.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.02433, allocations: 34.94 kB / 238.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 3.056e-06/0.02433, allocations: 0 / 238.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=57): time 0.002298/0.02663, allocations: 1.183 MB / 240.1 MB, free: 13.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.02669, allocations: 63.91 kB / 240.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.02712, allocations: 0.5153 MB / 240.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.02715, allocations: 33.7 kB / 240.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.0274, allocations: 416.9 kB / 241.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.02756, allocations: 222.1 kB / 241.3 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.02772, allocations: 142.5 kB / 241.4 MB, free: 12.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.02788, allocations: 390.6 kB / 241.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.02797, allocations: 65.95 kB / 241.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.02824, allocations: 359.2 kB / 242.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.02878, allocations: 0.5352 MB / 242.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.0288, allocations: 11.94 kB / 242.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0006622/0.02946, allocations: 487.4 kB / 243.3 MB, free: 9.961 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.02949, allocations: 8 kB / 243.3 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.02951, allocations: 12.12 kB / 243.3 MB, free: 9.941 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.02972, allocations: 48.83 kB / 243.3 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/0.03062, allocations: 227.5 kB / 243.6 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.0319, allocations: 1.398 MB / 245 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.03214, allocations: 24 kB / 245 MB, free: 8.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.03218, allocations: 39.97 kB / 245 MB, free: 8.125 MB / 250.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.0002175/0.0324, allocations: 165.5 kB / 245.2 MB, free: 7.953 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.03248, allocations: 55.94 kB / 245.2 MB, free: 7.898 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.233e-05/0.03256, allocations: 79.02 kB / 245.3 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.03257, allocations: 8 kB / 245.3 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.03258, allocations: 0 / 245.3 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.0326, allocations: 3.984 kB / 245.3 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.03383, allocations: 0.8246 MB / 246.1 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.03383, allocations: 128 / 246.1 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.03419, allocations: 143.8 kB / 246.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.03427, allocations: 63.52 kB / 246.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.03437, allocations: 29.12 kB / 246.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.03441, allocations: 16 kB / 246.4 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007932/0.0352, allocations: 1.158 MB / 247.5 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.0352, allocations: 4 kB / 247.6 MB, free: 5.406 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.03578, allocations: 0.5126 MB / 248.1 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.03582, allocations: 12 kB / 248.1 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.03593, allocations: 16 kB / 248.1 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.03601, allocations: 47.86 kB / 248.1 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.03603, allocations: 12 kB / 248.2 MB, free: 4.758 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002142/0.03624, allocations: 232.5 kB / 248.4 MB, free: 4.535 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03624, allocations: 0 / 248.4 MB, free: 4.535 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005133/0.03676, allocations: 140 kB / 248.5 MB, free: 4.398 MB / 250.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.0002029/0.03696, allocations: 92.86 kB / 248.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006066/0.03756, allocations: 465.2 kB / 249.1 MB, free: 3.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.239e-05/0.03761, allocations: 20.44 kB / 249.1 MB, free: 3.82 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.03787, allocations: 283.9 kB / 249.4 MB, free: 3.527 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.03871, allocations: 0.8286 MB / 250.2 MB, free: 2.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.04184, allocations: 1.421 MB / 251.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.04198, allocations: 163.1 kB / 251.8 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.04221, allocations: 93.94 kB / 251.9 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.04244, allocations: 167.3 kB / 252 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of SimCode: time 3.055e-06/0.04244, allocations: 0 / 252 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of Templates: time 0.0131/0.05555, allocations: 5.588 MB / 257.6 MB, free: 11.07 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0761937210336328]