Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.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.00172/0.00172, 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.002319/0.002319, allocations: 213.9 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.433/1.433, allocations: 230.2 MB / 256.8 MB, free: 8.641 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.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MixtureGases") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.89 kB / 376.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2571, allocations: 53.32 MB / 430.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4344/0.6916, allocations: 155.9 MB / 0.5723 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003786/0.6954, allocations: 4.052 MB / 0.5763 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.6956, allocations: 0 / 0.5763 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.6961, allocations: 113.4 kB / 0.5764 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.6992, allocations: 1.177 MB / 0.5775 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.7003, allocations: 397.5 kB / 0.5779 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006288/0.7009, allocations: 460.3 kB / 0.5783 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.701, allocations: 7.344 kB / 0.5783 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.7014, allocations: 253.6 kB / 0.5786 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.7016, allocations: 150.5 kB / 0.5787 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.7017, allocations: 17.81 kB / 0.5788 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.7057, allocations: 2.165 MB / 0.5809 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.7059, allocations: 138.1 kB / 0.581 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.7061, allocations: 171.8 kB / 0.5812 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.7088, allocations: 1.542 MB / 0.5827 GB, free: 11.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7088, allocations: 6.844 kB / 0.5827 GB, free: 11.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7088, allocations: 0 / 0.5827 GB, free: 11.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.7088, allocations: 0 / 0.5827 GB, free: 11.53 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002231/0.711, allocations: 0.7788 MB / 0.5834 GB, free: 10.94 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.711, allocations: 9.969 kB / 0.5834 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007366/0.7118, allocations: 108.9 kB / 0.5835 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.7122, allocations: 286.7 kB / 0.5838 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.7122, allocations: 17.84 kB / 0.5838 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.7123, allocations: 28.86 kB / 0.5839 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.7133, allocations: 0.5973 MB / 0.5844 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.7133, allocations: 3.938 kB / 0.5845 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.646e-05/0.7134, allocations: 9.562 kB / 0.5845 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.7134, allocations: 25.48 kB / 0.5845 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.7147, allocations: 0.6403 MB / 0.5851 GB, free: 10.33 MB / 462.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.002902/0.7176, allocations: 1.267 MB / 0.5863 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009342/0.7185, allocations: 355.2 kB / 0.5867 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/0.7189, allocations: 166.3 kB / 0.5868 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002385/0.7213, allocations: 1.372 MB / 0.5882 GB, free: 8.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.7213, allocations: 46.22 kB / 0.5882 GB, free: 8.203 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.224e-06/0.7213, allocations: 2.656 kB / 0.5882 GB, free: 8.203 MB / 462.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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.015/0.7363, allocations: 3.5 MB / 0.5916 GB, free: 6.457 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.7364, allocations: 82.86 kB / 0.5917 GB, free: 6.363 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.7366, allocations: 184 kB / 0.5919 GB, free: 6.234 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.7366, allocations: 35.66 kB / 0.5919 GB, free: 6.203 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.7368, allocations: 180 kB / 0.5921 GB, free: 6.043 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.7369, allocations: 183.8 kB / 0.5923 GB, free: 5.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.7371, allocations: 116.4 kB / 0.5924 GB, free: 5.871 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7373, allocations: 334.4 kB / 0.5927 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006977/0.738, allocations: 266.5 kB / 0.593 GB, free: 5.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008068/0.7388, allocations: 428.7 kB / 0.5934 GB, free: 5.258 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.7403, allocations: 0.7015 MB / 0.5941 GB, free: 4.984 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7403, allocations: 0 / 0.5941 GB, free: 4.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001907/0.7422, allocations: 0.7795 MB / 0.5948 GB, free: 4.781 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.7422, allocations: 7.688 kB / 0.5948 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7422, allocations: 3.953 kB / 0.5948 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.7425, allocations: 54.91 kB / 0.5949 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.7436, allocations: 186.7 kB / 0.5951 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007428/0.7444, allocations: 1.076 MB / 0.5961 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.7451, allocations: 43.92 kB / 0.5962 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-05/0.7452, allocations: 40.33 kB / 0.5962 GB, free: 3.605 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002966/0.7455, allocations: 172.7 kB / 0.5964 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.7456, allocations: 34.94 kB / 0.5964 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.7478, allocations: 0.7937 MB / 0.5972 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7478, allocations: 6.031 kB / 0.5972 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7478, allocations: 0 / 0.5972 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.7478, allocations: 5.078 kB / 0.5972 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.7511, allocations: 1.556 MB / 0.5987 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7511, allocations: 0 / 0.5987 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.7522, allocations: 141.2 kB / 0.5988 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.7523, allocations: 51.28 kB / 0.5989 GB, free: 1.691 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.396e-05/0.7524, allocations: 26.22 kB / 0.5989 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.7544, allocations: 2.728 MB / 0.6016 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.7544, allocations: 6.062 kB / 0.6016 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.757, allocations: 1.077 MB / 0.6026 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.7571, allocations: 100.4 kB / 0.6027 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.7572, allocations: 9.188 kB / 0.6027 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/0.758, allocations: 39.91 kB / 0.6028 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.758, allocations: 55.98 kB / 0.6028 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.7581, allocations: 35.38 kB / 0.6029 GB, free: 13.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.7582, allocations: 123.1 kB / 0.603 GB, free: 13.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7582, allocations: 0 / 0.603 GB, free: 13.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001457/0.7597, allocations: 396.5 kB / 0.6034 GB, free: 13.75 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * 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): 2 systems {(1,1,100.0%), (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.002223/0.7619, allocations: 0.8649 MB / 0.6042 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.7638, allocations: 0.6326 MB / 0.6048 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7638, allocations: 0 / 0.6048 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.7649, allocations: 0.5235 MB / 0.6053 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/0.7656, allocations: 100.9 kB / 0.6054 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.7677, allocations: 1.038 MB / 0.6064 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.7682, allocations: 0.7852 MB / 0.6072 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.7686, allocations: 79.38 kB / 0.6073 GB, free: 10.93 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7686, allocations: 0 / 0.6073 GB, free: 10.93 MB / 478.1 MB Notification: Performance of Templates: time 0.02249/0.7911, allocations: 14.83 MB / 0.6218 GB, free: 12.09 MB / 494.1 MB [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches