Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 213.8 kB / 23.54 MB, free: 5.387 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.2 MB / 256.7 MB, free: 8.664 MB / 206.1 MB [Timeout remaining time 88] 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.89 kB / 376.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2428, allocations: 53.32 MB / 430.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04083/0.2836, allocations: 37.71 MB / 467.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006058/0.2897, allocations: 4.588 MB / 472.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.29, allocations: 11.94 kB / 472.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009031/0.2909, allocations: 302.2 kB / 472.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.292, allocations: 489.3 kB / 473.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004658/0.2967, allocations: 1.642 MB / 474.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.2985, allocations: 1.276 MB / 476.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.2988, allocations: 126.6 kB / 476.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009084/0.2997, allocations: 486.5 kB / 476.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006452/0.3004, allocations: 434.3 kB / 477.2 MB, free: 8.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/0.3005, allocations: 44 kB / 477.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.3022, allocations: 0.761 MB / 478 MB, free: 7.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.3024, allocations: 135.5 kB / 478.2 MB, free: 7.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003442/0.3027, allocations: 282.9 kB / 478.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.3044, allocations: 1.052 MB / 479.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3044, allocations: 0 / 479.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3044, allocations: 4 kB / 479.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3044, allocations: 0 / 479.5 MB, free: 6.309 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001204/0.3056, allocations: 0.7828 MB / 480.3 MB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3056, allocations: 8.031 kB / 480.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006198/0.3062, allocations: 80.62 kB / 480.4 MB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.3068, allocations: 351.5 kB / 480.7 MB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.3068, allocations: 29.38 kB / 480.7 MB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.3069, allocations: 36.38 kB / 480.8 MB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000755/0.3077, allocations: 479.6 kB / 481.2 MB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3077, allocations: 7.953 kB / 481.2 MB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.3077, allocations: 23.94 kB / 481.3 MB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3077, allocations: 8 kB / 481.3 MB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.3082, allocations: 307.6 kB / 481.6 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.3229, allocations: 6.738 MB / 488.3 MB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.3234, allocations: 262.4 kB / 488.6 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.3236, allocations: 137.7 kB / 488.7 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.3349, allocations: 3.893 MB / 492.6 MB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.949e-05/0.3349, allocations: 39.16 kB / 492.6 MB, free: 8.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.955e-06/0.3349, allocations: 4 kB / 492.6 MB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01283/0.3477, allocations: 2.451 MB / 495.1 MB, free: 5.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.3478, allocations: 55.41 kB / 495.1 MB, free: 5.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.3482, allocations: 295.3 kB / 495.4 MB, free: 5.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.3483, allocations: 41.7 kB / 495.5 MB, free: 5.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.3485, allocations: 232.5 kB / 495.7 MB, free: 4.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.3486, allocations: 166.6 kB / 495.9 MB, free: 4.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.3488, allocations: 102.2 kB / 496 MB, free: 4.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.349, allocations: 342.8 kB / 496.3 MB, free: 4.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.3493, allocations: 149.1 kB / 496.4 MB, free: 4.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.3497, allocations: 279.7 kB / 496.7 MB, free: 3.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/0.3504, allocations: 472.3 kB / 497.2 MB, free: 3.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3504, allocations: 0 / 497.2 MB, free: 3.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001251/0.3517, allocations: 0.5956 MB / 497.8 MB, free: 2.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.3517, allocations: 11.94 kB / 497.8 MB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.3517, allocations: 4 kB / 497.8 MB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008797/0.3605, allocations: 1.852 MB / 499.6 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.361, allocations: 107.8 kB / 499.8 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.3635, allocations: 2.565 MB / 0.4905 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.3639, allocations: 15.98 kB / 0.4906 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.3639, allocations: 28.06 kB / 0.4906 GB, free: 13.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003074/0.3642, allocations: 177.6 kB / 0.4908 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.3644, allocations: 43.77 kB / 0.4908 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.3658, allocations: 0.8474 MB / 0.4916 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.3658, allocations: 11.98 kB / 0.4916 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3658, allocations: 0 / 0.4916 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/0.367, allocations: 0.9574 MB / 0.4926 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.3693, allocations: 1.478 MB / 0.494 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.3693, allocations: 3.984 kB / 0.494 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.3696, allocations: 75.91 kB / 0.4941 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003648/0.3733, allocations: 0.6258 MB / 0.4947 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.3734, allocations: 19.94 kB / 0.4947 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.3745, allocations: 1.28 MB / 0.496 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3745, allocations: 0 / 0.496 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.3763, allocations: 1.221 MB / 0.4972 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.3765, allocations: 120.8 kB / 0.4973 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.3766, allocations: 12 kB / 0.4973 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.3768, allocations: 15.94 kB / 0.4973 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.3769, allocations: 23.95 kB / 0.4973 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.3769, allocations: 19.98 kB / 0.4973 GB, free: 6.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.3772, allocations: 210 kB / 0.4975 GB, free: 6.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3772, allocations: 0 / 0.4975 GB, free: 6.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008746/0.3781, allocations: 235.6 kB / 0.4978 GB, free: 6.363 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007626/0.3788, allocations: 286.8 kB / 0.498 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.3803, allocations: 0.6753 MB / 0.4987 GB, free: 5.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3803, allocations: 4 kB / 0.4987 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3813, allocations: 420 kB / 0.4991 GB, free: 4.973 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.3826, allocations: 233 kB / 0.4993 GB, free: 4.742 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.385, allocations: 1.277 MB / 0.5006 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.3855, allocations: 0.8402 MB / 0.5014 GB, free: 2.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3856, allocations: 47.38 kB / 0.5014 GB, free: 2.516 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3856, allocations: 0 / 0.5014 GB, free: 2.516 MB / 414.1 MB Notification: Performance of Templates: time 0.02069/0.4063, allocations: 13.03 MB / 0.5142 GB, free: 5.484 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches