Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000933/0.000933, allocations: 96.5 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2438/0.2438, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.487e-05/1.488e-05, allocations: 4 kB / 453.2 MB, free: 75.87 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1402, allocations: 63.24 MB / 0.5044 GB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.451/1.592, allocations: 462.9 MB / 0.9564 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/1.592, allocations: 69.23 kB / 0.9564 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06351/1.655, allocations: 29.95 MB / 0.9857 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.883e-06/1.655, allocations: 4 kB / 0.9857 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.258e-05/1.655, allocations: 0 / 0.9857 GB, free: 160.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004293/1.656, allocations: 391.8 kB / 0.9861 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.656, allocations: 11.34 kB / 0.9861 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/1.658, allocations: 183.9 kB / 0.9862 GB, free: 160 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/1.658, allocations: 205.1 kB / 0.9864 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/1.658, allocations: 3.844 kB / 0.9864 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/1.658, allocations: 15.7 kB / 0.9865 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002843/1.658, allocations: 152.7 kB / 0.9866 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/1.658, allocations: 127.4 kB / 0.9867 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.658, allocations: 0 / 0.9867 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/1.658, allocations: 0 / 0.9867 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/1.658, allocations: 3.812 kB / 0.9867 GB, free: 159.7 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.0008315/1.659, allocations: 0.5381 MB / 0.9873 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/1.659, allocations: 119.4 kB / 0.9874 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/1.66, allocations: 61.78 kB / 0.9874 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/1.66, allocations: 7.359 kB / 0.9874 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/1.66, allocations: 37.88 kB / 0.9875 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/1.66, allocations: 4 kB / 0.9875 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.003573/1.663, allocations: 0.8925 MB / 0.9883 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/1.663, allocations: 55.09 kB / 0.9884 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.748e-05/1.663, allocations: 96.53 kB / 0.9885 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/1.663, allocations: 25.7 kB / 0.9885 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/1.663, allocations: 95.22 kB / 0.9886 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/1.663, allocations: 73.05 kB / 0.9887 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/1.663, allocations: 0 / 0.9887 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/1.663, allocations: 322 kB / 0.989 GB, free: 158 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/1.664, allocations: 60.17 kB / 0.989 GB, free: 158 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/1.664, allocations: 99.16 kB / 0.9891 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.703e-05/1.664, allocations: 64.75 kB / 0.9892 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/1.664, allocations: 4 kB / 0.9892 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002992/1.664, allocations: 231.5 kB / 0.9894 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.664, allocations: 5.594 kB / 0.9894 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.664, allocations: 3.844 kB / 0.9894 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/1.664, allocations: 46.53 kB / 0.9895 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/1.665, allocations: 54.09 kB / 0.9895 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000295/1.665, allocations: 0.5723 MB / 0.9901 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/1.665, allocations: 7.828 kB / 0.9901 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/1.665, allocations: 23.25 kB / 0.9901 GB, free: 157.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 8.848e-05/1.665, allocations: 112.6 kB / 0.9902 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/1.665, allocations: 11.8 kB / 0.9902 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006148/1.666, allocations: 314.8 kB / 0.9905 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.666, allocations: 11.75 kB / 0.9905 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.666, allocations: 0 / 0.9905 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/1.666, allocations: 3.984 kB / 0.9905 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/1.667, allocations: 0.5543 MB / 0.9911 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.667, allocations: 0 / 0.9911 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/1.667, allocations: 68.73 kB / 0.9912 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.009e-05/1.667, allocations: 19.97 kB / 0.9912 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.667, allocations: 11.33 kB / 0.9912 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005804/1.668, allocations: 1.219 MB / 0.9924 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.668, allocations: 7.75 kB / 0.9924 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/1.668, allocations: 431.2 kB / 0.9928 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/1.668, allocations: 88.39 kB / 0.9929 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/1.668, allocations: 7.828 kB / 0.9929 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/1.668, allocations: 7.75 kB / 0.9929 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/1.668, allocations: 27.38 kB / 0.9929 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/1.668, allocations: 30.02 kB / 0.9929 GB, free: 155 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.99e-05/1.668, allocations: 86.53 kB / 0.993 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/1.668, allocations: 0 / 0.993 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004892/1.669, allocations: 108.8 kB / 0.9931 GB, free: 154.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008351/1.67, allocations: 0.6175 MB / 0.9937 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003282/1.67, allocations: 180.6 kB / 0.9939 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.67, allocations: 0 / 0.9939 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/1.67, allocations: 196 kB / 0.9941 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/1.671, allocations: 43.77 kB / 0.9941 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/1.671, allocations: 320.9 kB / 0.9944 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/1.671, allocations: 0.7112 MB / 0.9951 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004117/1.672, allocations: 80.05 kB / 0.9952 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.672, allocations: 50.56 kB / 0.9953 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/1.672, allocations: 0 / 0.9953 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.01003/1.682, allocations: 7.364 MB / 1.002 GB, free: 149.6 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches