Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 108.3 kB / 17.03 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 194.9 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2472/0.2472, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 67.97 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1382, allocations: 57.8 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4981/0.6363, allocations: 150.6 MB / 0.5787 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.638, allocations: 0.9684 MB / 0.5796 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.6382, allocations: 0 / 0.5796 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.6386, allocations: 38.64 kB / 0.5796 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.6397, allocations: 241.4 kB / 0.5799 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.6402, allocations: 119 kB / 0.58 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.6406, allocations: 164.7 kB / 0.5801 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.204e-05/0.6406, allocations: 4.938 kB / 0.5801 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.6409, allocations: 93.83 kB / 0.5802 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.6411, allocations: 47.14 kB / 0.5803 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.6411, allocations: 5.688 kB / 0.5803 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007031/0.6418, allocations: 266.9 kB / 0.5805 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/0.6419, allocations: 20.53 kB / 0.5806 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.642, allocations: 45.58 kB / 0.5806 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007199/0.6427, allocations: 280.5 kB / 0.5809 GB, free: 12.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6427, allocations: 0 / 0.5809 GB, free: 12.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6427, allocations: 2.156 kB / 0.5809 GB, free: 12.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.6427, allocations: 0 / 0.5809 GB, free: 12.49 MB / 430.1 MB 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.0006803/0.6434, allocations: 410.1 kB / 0.5813 GB, free: 12.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.6435, allocations: 17.45 kB / 0.5813 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.6456, allocations: 188.9 kB / 0.5815 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.646, allocations: 203.3 kB / 0.5816 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.646, allocations: 9.719 kB / 0.5817 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.6461, allocations: 11 kB / 0.5817 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.6466, allocations: 230.5 kB / 0.5819 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6467, allocations: 2.469 kB / 0.5819 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.6467, allocations: 3.312 kB / 0.5819 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.6467, allocations: 2.781 kB / 0.5819 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.6471, allocations: 171.8 kB / 0.5821 GB, free: 11.82 MB / 430.1 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.001201/0.6484, allocations: 0.571 MB / 0.5826 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.6487, allocations: 147.2 kB / 0.5828 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.6489, allocations: 69.17 kB / 0.5828 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.6489, allocations: 2.438 kB / 0.5828 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.6489, allocations: 38.5 kB / 0.5829 GB, free: 11.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.649, allocations: 0 / 0.5829 GB, free: 11.29 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005075/0.654, allocations: 1.304 MB / 0.5841 GB, free: 10.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.6541, allocations: 55.41 kB / 0.5842 GB, free: 10.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.6542, allocations: 110 kB / 0.5843 GB, free: 10.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.6542, allocations: 33.14 kB / 0.5843 GB, free: 10.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.6543, allocations: 92 kB / 0.5844 GB, free: 10.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.6544, allocations: 74.84 kB / 0.5845 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.6545, allocations: 51.86 kB / 0.5845 GB, free: 10.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6546, allocations: 322.3 kB / 0.5848 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.6548, allocations: 71.2 kB / 0.5849 GB, free: 10.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.655, allocations: 113.2 kB / 0.585 GB, free: 10.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.6553, allocations: 185.5 kB / 0.5852 GB, free: 10.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6553, allocations: 4 kB / 0.5852 GB, free: 10.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004848/0.6558, allocations: 262 kB / 0.5854 GB, free: 9.941 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.6558, allocations: 4.812 kB / 0.5855 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6559, allocations: 0 / 0.5855 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.6561, allocations: 48.67 kB / 0.5855 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.6564, allocations: 52.31 kB / 0.5855 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004417/0.6568, allocations: 0.5704 MB / 0.5861 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.657, allocations: 8.5 kB / 0.5861 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/0.6571, allocations: 30.08 kB / 0.5861 GB, free: 9.371 MB / 430.1 MB 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 () * Number of clocked 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 (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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.6572, allocations: 125.3 kB / 0.5863 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.6573, allocations: 8.656 kB / 0.5863 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000735/0.658, allocations: 348.1 kB / 0.5866 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.658, allocations: 6.031 kB / 0.5866 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6581, allocations: 1.188 kB / 0.5866 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.6581, allocations: 2.406 kB / 0.5866 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.6591, allocations: 0.625 MB / 0.5872 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6591, allocations: 0 / 0.5872 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.6595, allocations: 60.89 kB / 0.5873 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.679e-05/0.6596, allocations: 21.91 kB / 0.5873 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.6596, allocations: 10.78 kB / 0.5873 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.6607, allocations: 1.369 MB / 0.5886 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6608, allocations: 0 / 0.5886 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.6614, allocations: 435 kB / 0.5891 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.6615, allocations: 87.45 kB / 0.5891 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.6615, allocations: 8.812 kB / 0.5892 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.6618, allocations: 2.688 kB / 0.5892 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.6618, allocations: 31.44 kB / 0.5892 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.6619, allocations: 30.39 kB / 0.5892 GB, free: 6.953 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.662, allocations: 94.34 kB / 0.5893 GB, free: 6.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.662, allocations: 0 / 0.5893 GB, free: 6.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004481/0.6624, allocations: 84.09 kB / 0.5894 GB, free: 6.859 MB / 430.1 MB 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 () * Number of clocked 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003828/0.6628, allocations: 147.3 kB / 0.5895 GB, free: 6.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.6633, allocations: 209.1 kB / 0.5897 GB, free: 6.711 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6633, allocations: 8.125 kB / 0.5897 GB, free: 6.703 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.6637, allocations: 220.4 kB / 0.5899 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.6642, allocations: 42.69 kB / 0.59 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.6652, allocations: 480.7 kB / 0.5904 GB, free: 6.234 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.6655, allocations: 0.7057 MB / 0.5911 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000301/0.6658, allocations: 80.66 kB / 0.5912 GB, free: 5.484 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.666, allocations: 47 kB / 0.5913 GB, free: 5.465 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.666, allocations: 0 / 0.5913 GB, free: 5.465 MB / 430.1 MB Notification: Performance of Templates: time 0.01119/0.6772, allocations: 5.609 MB / 0.5967 GB, free: 2.617 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches