Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.0007268/0.0007268, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001448/0.002174, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009894/0.0009894, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002255, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.8802/0.8802, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07952/0.9597, allocations: 53.86 MB / 243.9 MB, free: 14.83 MB / 250.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.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.869e-05, allocations: 6.312 kB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.009795/0.009814, allocations: 12.04 MB / 257.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.01168, allocations: 1.958 MB / 259.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.01181, allocations: 7.828 kB / 259.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.01207, allocations: 107.2 kB / 259.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.01249, allocations: 369.8 kB / 259.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.01485, allocations: 1.337 MB / 261 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007045/0.01556, allocations: 0.9377 MB / 262 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.0157, allocations: 70.86 kB / 262 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003432/0.01913, allocations: 4.183 MB / 266.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.0194, allocations: 239.2 kB / 266.5 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.01944, allocations: 28 kB / 266.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008662/0.0203, allocations: 0.7179 MB / 267.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.02039, allocations: 79.72 kB / 267.3 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.02049, allocations: 123.8 kB / 267.4 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007341/0.02122, allocations: 0.6429 MB / 268 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.02123, allocations: 0 / 268 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02123, allocations: 4 kB / 268 MB, free: 6.617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.02124, allocations: 0 / 268 MB, free: 6.617 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006414/0.02188, allocations: 0.6554 MB / 268.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.02191, allocations: 8.625 kB / 268.7 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.02233, allocations: 197.4 kB / 268.9 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.02255, allocations: 201.3 kB / 269.1 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.02257, allocations: 21.03 kB / 269.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.02261, allocations: 36.33 kB / 269.2 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.02287, allocations: 417.9 kB / 269.6 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.02288, allocations: 3.938 kB / 269.6 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.0229, allocations: 16 kB / 269.6 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.02291, allocations: 12 kB / 269.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.02301, allocations: 95.3 kB / 269.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005174/0.02818, allocations: 3.742 MB / 273.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.02833, allocations: 106.3 kB / 273.5 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.02837, allocations: 48.77 kB / 273.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1076/0.136, allocations: 2.469 MB / 276 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.136, allocations: 33.81 kB / 276.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.214e-06/0.136, allocations: 1.125 kB / 276.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.00362/0.1396, allocations: 1.145 MB / 277.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.642e-05/0.1396, allocations: 54.22 kB / 277.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.1398, allocations: 215.4 kB / 277.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1398, allocations: 34.67 kB / 277.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.1399, allocations: 189.9 kB / 277.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.1399, allocations: 99.41 kB / 277.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.14, allocations: 59.14 kB / 277.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.14, allocations: 337.4 kB / 278.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.456e-05/0.14, allocations: 33.98 kB / 278.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.1401, allocations: 133.9 kB / 278.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.1403, allocations: 212.2 kB / 278.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1403, allocations: 1.125 kB / 278.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000283/0.1406, allocations: 235.5 kB / 278.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1406, allocations: 8.328 kB / 278.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1406, allocations: 4.25 kB / 278.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.1426, allocations: 0.9281 MB / 279.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.1427, allocations: 81.83 kB / 279.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006027/0.1433, allocations: 1.71 MB / 281.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.1434, allocations: 7.656 kB / 281.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1434, allocations: 14.14 kB / 281.5 MB, free: 12.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.1435, allocations: 146.6 kB / 281.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.1436, allocations: 25.14 kB / 281.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.1438, allocations: 316.8 kB / 282 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.1439, allocations: 8.297 kB / 282 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1439, allocations: 0.9375 kB / 282 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002037/0.1441, allocations: 0.5111 MB / 282.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.1446, allocations: 0.551 MB / 283.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.1446, allocations: 5.703 kB / 283.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.1447, allocations: 50.11 kB / 283.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.1447, allocations: 23.91 kB / 283.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006801/0.1454, allocations: 292.7 kB / 283.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.1454, allocations: 14.33 kB / 283.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001636/0.1456, allocations: 0.5439 MB / 284 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1456, allocations: 0.7031 kB / 284 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.146, allocations: 458.7 kB / 284.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.146, allocations: 6.406 kB / 284.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.146, allocations: 5 kB / 284.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.1461, allocations: 14.42 kB / 284.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1461, allocations: 10.34 kB / 284.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.083e-05/0.1461, allocations: 61.7 kB / 284.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1461, allocations: 0.7812 kB / 284.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.1465, allocations: 192.7 kB / 284.7 MB, free: 11.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003725/0.1469, allocations: 277.1 kB / 285 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.1472, allocations: 317.9 kB / 285.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.1472, allocations: 4.125 kB / 285.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.1474, allocations: 148.1 kB / 285.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.1479, allocations: 0.6853 MB / 286.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.1521, allocations: 0.6691 MB / 286.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.005e-05/0.1522, allocations: 107.9 kB / 286.9 MB, free: 9.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.1523, allocations: 46.97 kB / 287 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.1525, allocations: 146.7 kB / 287.1 MB, free: 9.707 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1525, allocations: 0 / 287.1 MB, free: 9.707 MB / 266.7 MB Notification: Performance of Templates: time 0.009359/0.1618, allocations: 10.06 MB / 297.2 MB, free: 5.039 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.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: 2.895333527587354]