Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.00132/0.00132, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005786/0.005786, allocations: 160.2 kB / 24.7 MB, free: 9.441 MB / 18.57 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.9164/0.9164, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2971/0.2971, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.682e-05, allocations: 2.281 kB / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3022/0.3023, allocations: 131.8 MB / 0.5618 GB, free: 12.36 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.305, allocations: 2.924 MB / 0.5646 GB, free: 9.426 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.3051, allocations: 4 kB / 0.5646 GB, free: 9.422 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.3055, allocations: 51.67 kB / 0.5647 GB, free: 9.371 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.3077, allocations: 1.123 MB / 0.5658 GB, free: 8.242 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.3081, allocations: 201.7 kB / 0.566 GB, free: 8.047 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.3085, allocations: 372.3 kB / 0.5663 GB, free: 7.684 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.403e-05/0.3086, allocations: 9.25 kB / 0.5663 GB, free: 7.676 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.3088, allocations: 215.4 kB / 0.5665 GB, free: 7.465 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.309, allocations: 107.7 kB / 0.5666 GB, free: 7.359 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.309, allocations: 12 kB / 0.5666 GB, free: 7.348 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.3113, allocations: 1.347 MB / 0.568 GB, free: 5.996 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.3114, allocations: 83.77 kB / 0.568 GB, free: 5.914 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 9.25e-05/0.3115, allocations: 91.81 kB / 0.5681 GB, free: 5.824 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.313, allocations: 1.079 MB / 0.5692 GB, free: 4.742 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.313, allocations: 4 kB / 0.5692 GB, free: 4.738 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.313, allocations: 0 / 0.5692 GB, free: 4.738 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.313, allocations: 0 / 0.5692 GB, free: 4.738 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001039/0.314, allocations: 493.8 kB / 0.5697 GB, free: 4.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.314, allocations: 12.03 kB / 0.5697 GB, free: 4.219 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008748/0.3149, allocations: 212.6 kB / 0.5699 GB, free: 4.012 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.3153, allocations: 189.5 kB / 0.57 GB, free: 3.801 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.3153, allocations: 12.75 kB / 0.5701 GB, free: 3.789 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.3154, allocations: 32.06 kB / 0.5701 GB, free: 3.758 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.3159, allocations: 0.5803 MB / 0.5707 GB, free: 3.121 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3159, allocations: 3.938 kB / 0.5707 GB, free: 3.117 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.316, allocations: 8 kB / 0.5707 GB, free: 3.109 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.316, allocations: 8 kB / 0.5707 GB, free: 3.102 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.3164, allocations: 420.4 kB / 0.5711 GB, free: 2.691 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.3176, allocations: 0.7126 MB / 0.5718 GB, free: 1.945 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.3179, allocations: 225.8 kB / 0.572 GB, free: 1.715 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.318, allocations: 121.7 kB / 0.5721 GB, free: 1.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008303/0.3189, allocations: 316.7 kB / 0.5724 GB, free: 1.285 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3189, allocations: 46.5 kB / 0.5725 GB, free: 1.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/0.3189, allocations: 0 / 0.5725 GB, free: 1.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008195/0.3197, allocations: 394.2 kB / 0.5728 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.3198, allocations: 82.05 kB / 0.5729 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.3199, allocations: 117.8 kB / 0.573 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3199, allocations: 29.7 kB / 0.573 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.3199, allocations: 112.5 kB / 0.5732 GB, free: 484 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.696e-05/0.32, allocations: 119 kB / 0.5733 GB, free: 364 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.3201, allocations: 66.02 kB / 0.5733 GB, free: 292 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3202, allocations: 326.8 kB / 0.5736 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.3203, allocations: 96.28 kB / 0.5737 GB, free: 15.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.3208, allocations: 194.9 kB / 0.5739 GB, free: 15.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.3211, allocations: 316.5 kB / 0.5742 GB, free: 15.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3211, allocations: 6.906 kB / 0.5742 GB, free: 15.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004452/0.3216, allocations: 354.1 kB / 0.5746 GB, free: 14.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.3216, allocations: 8.312 kB / 0.5746 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3216, allocations: 4 kB / 0.5746 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.3217, allocations: 4 kB / 0.5746 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.3218, allocations: 71.91 kB / 0.5746 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3218, allocations: 7.984 kB / 0.5747 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.322, allocations: 31.72 kB / 0.5747 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.322, allocations: 20 kB / 0.5747 GB, free: 14.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.3221, allocations: 137.8 kB / 0.5748 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.3222, allocations: 19.84 kB / 0.5749 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.3226, allocations: 341 kB / 0.5752 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.3227, allocations: 7.984 kB / 0.5752 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3227, allocations: 4 kB / 0.5752 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3227, allocations: 0 / 0.5752 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.323, allocations: 239 kB / 0.5754 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.323, allocations: 4 kB / 0.5754 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.3232, allocations: 51.91 kB / 0.5755 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.3232, allocations: 10.61 kB / 0.5755 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.3232, allocations: 12 kB / 0.5755 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3232, allocations: 0 / 0.5755 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3232, allocations: 0 / 0.5755 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.3237, allocations: 0.5233 MB / 0.576 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.3238, allocations: 23.78 kB / 0.576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.3238, allocations: 8.062 kB / 0.576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3239, allocations: 11.98 kB / 0.576 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.324, allocations: 23.97 kB / 0.5761 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.324, allocations: 15.98 kB / 0.5761 GB, free: 13.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.688e-05/0.324, allocations: 96.78 kB / 0.5762 GB, free: 13.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.324, allocations: 0 / 0.5762 GB, free: 13.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006903/0.3247, allocations: 243.4 kB / 0.5764 GB, free: 13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007826/0.3255, allocations: 470.3 kB / 0.5769 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.3259, allocations: 260.2 kB / 0.5771 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3259, allocations: 0 / 0.5771 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.326, allocations: 135.8 kB / 0.5772 GB, free: 12.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.3265, allocations: 102 kB / 0.5773 GB, free: 12.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000861/0.3273, allocations: 0.6147 MB / 0.5779 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.741e-05/0.3274, allocations: 115.9 kB / 0.578 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3275, allocations: 44.48 kB / 0.5781 GB, free: 11.24 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3275, allocations: 0 / 0.5781 GB, free: 11.24 MB / 490.7 MB Notification: Performance of Templates: time 0.006983/0.3345, allocations: 6.672 MB / 0.5846 GB, free: 4.578 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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: 6.21807786822319]