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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001523/0.001523, allocations: 116.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001845/0.001845, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2052, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02476/0.23, allocations: 27.1 MB / 437.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004319/0.2343, allocations: 4.159 MB / 441.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.2345, allocations: 8 kB / 441.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.2351, allocations: 210.7 kB / 441.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005366/0.2356, allocations: 334.1 kB / 441.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.2392, allocations: 1.475 MB / 443.2 MB, free: 200 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008914/0.2401, allocations: 0.8872 MB / 444.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.2403, allocations: 100.6 kB / 444.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005519/0.2458, allocations: 4.053 MB / 448.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.2461, allocations: 270.9 kB / 448.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.2462, allocations: 32 kB / 448.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.2475, allocations: 0.7298 MB / 449.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.2476, allocations: 91.67 kB / 449.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.2478, allocations: 195.2 kB / 449.6 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.2488, allocations: 0.8495 MB / 450.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2489, allocations: 0 / 450.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.2489, allocations: 0 / 450.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2489, allocations: 7.938 kB / 450.4 MB, free: 8.98 MB / 366.1 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.0008578/0.2498, allocations: 0.651 MB / 451.1 MB, free: 8.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2498, allocations: 8.031 kB / 451.1 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004333/0.2502, allocations: 52.55 kB / 451.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.2507, allocations: 299.7 kB / 451.4 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.2507, allocations: 20.94 kB / 451.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.2507, allocations: 36.3 kB / 451.5 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.2512, allocations: 346.6 kB / 451.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.2512, allocations: 0 / 451.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.2513, allocations: 12 kB / 451.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.2513, allocations: 8 kB / 451.8 MB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.2516, allocations: 214 kB / 452.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.2647, allocations: 5.9 MB / 458 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.265, allocations: 178.2 kB / 458.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.2652, allocations: 99.94 kB / 458.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.2762, allocations: 3.893 MB / 462.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.2763, allocations: 38.55 kB / 462.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.534e-06/0.2763, allocations: 0 / 462.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00636/0.2827, allocations: 1.406 MB / 463.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.2827, allocations: 59.41 kB / 463.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.283, allocations: 258.5 kB / 463.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.283, allocations: 33.7 kB / 463.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2831, allocations: 188.1 kB / 464.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.018e-05/0.2832, allocations: 94.64 kB / 464.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.355e-05/0.2833, allocations: 65.61 kB / 464.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2834, allocations: 338.8 kB / 464.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2836, allocations: 87.95 kB / 464.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.2838, allocations: 190.8 kB / 464.8 MB, free: 9.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.2842, allocations: 310.9 kB / 465.2 MB, free: 9.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2843, allocations: 0 / 465.2 MB, free: 9.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006561/0.2849, allocations: 386.7 kB / 465.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2849, allocations: 8.375 kB / 465.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.285, allocations: 8 kB / 465.5 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004352/0.2893, allocations: 0.9325 MB / 466.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.2896, allocations: 67.91 kB / 466.5 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.2911, allocations: 1.978 MB / 468.5 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.2913, allocations: 15.92 kB / 468.5 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.2913, allocations: 16 kB / 468.6 MB, free: 5.531 MB / 382.1 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 0.0001608/0.2915, allocations: 157.8 kB / 468.7 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.2916, allocations: 31.66 kB / 468.7 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007294/0.2923, allocations: 490.1 kB / 469.2 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006398/0.2929, allocations: 0.7168 MB / 469.9 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.293, allocations: 0 / 469.9 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.293, allocations: 100.7 kB / 470 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.2931, allocations: 12 kB / 470 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.2933, allocations: 7.984 kB / 470.1 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.2933, allocations: 12.22 kB / 470.1 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008317/0.2942, allocations: 0.505 MB / 470.6 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007585/0.2949, allocations: 0.7177 MB / 471.3 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002131/0.2951, allocations: 176 kB / 471.5 MB, free: 2.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.2953, allocations: 190 kB / 471.6 MB, free: 2.281 MB / 382.1 MB Notification: Performance of Backend: time 5.81e-07/0.2953, allocations: 0 / 471.6 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.2968, allocations: 0.5834 MB / 472.2 MB, free: 1.68 MB / 382.1 MB Notification: Performance of SimCode: time 0.001524/0.2984, allocations: 1.202 MB / 473.4 MB, free: 444 kB / 382.1 MB Notification: Performance of Templates: time 0.01573/0.3141, allocations: 9.925 MB / 483.4 MB, free: 6.539 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches