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/ModelicaServices trunk/package.mo", uses=false) 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/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 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.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/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4118, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1961/0.608, allocations: 152.3 MB / 0.6803 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.6102, allocations: 1.051 MB / 0.6814 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.6104, allocations: 0 / 0.6814 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.6108, allocations: 35.77 kB / 0.6814 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.6119, allocations: 278.5 kB / 0.6817 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.6125, allocations: 122.6 kB / 0.6818 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.6129, allocations: 171.3 kB / 0.6819 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/0.6129, allocations: 11.94 kB / 0.6819 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.6132, allocations: 91.61 kB / 0.682 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.6134, allocations: 63.81 kB / 0.6821 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.6134, allocations: 4 kB / 0.6821 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006836/0.6141, allocations: 271.6 kB / 0.6824 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.6142, allocations: 23.92 kB / 0.6824 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.6143, allocations: 51.78 kB / 0.6824 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006667/0.6149, allocations: 277.1 kB / 0.6827 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.615, allocations: 0 / 0.6827 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.615, allocations: 0 / 0.6827 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.615, allocations: 0 / 0.6827 GB, free: 6.457 MB / 0.5294 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.0007293/0.6157, allocations: 415.2 kB / 0.6831 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.6158, allocations: 15.97 kB / 0.6831 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.6181, allocations: 196.6 kB / 0.6833 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.6185, allocations: 207.6 kB / 0.6835 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.6185, allocations: 11.95 kB / 0.6835 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.6186, allocations: 8 kB / 0.6835 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.6191, allocations: 226.3 kB / 0.6837 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.6191, allocations: 0 / 0.6837 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.6192, allocations: 0 / 0.6837 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6192, allocations: 4 kB / 0.6837 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.6197, allocations: 167.8 kB / 0.6839 GB, free: 5.133 MB / 0.5294 GB 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.001229/0.6209, allocations: 0.5871 MB / 0.6845 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.6213, allocations: 138.5 kB / 0.6846 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.6214, allocations: 64.83 kB / 0.6847 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.6215, allocations: 8 kB / 0.6847 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.6215, allocations: 30.56 kB / 0.6847 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.6215, allocations: 4 kB / 0.6847 GB, free: 4.227 MB / 0.5294 GB 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.005281/0.6268, allocations: 1.307 MB / 0.686 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.6269, allocations: 59.39 kB / 0.686 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.627, allocations: 117.8 kB / 0.6861 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.6271, allocations: 25.7 kB / 0.6862 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.6272, allocations: 103.8 kB / 0.6863 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.6272, allocations: 67.03 kB / 0.6863 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.6274, allocations: 53.61 kB / 0.6864 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.6275, allocations: 326.8 kB / 0.6867 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.6277, allocations: 67.95 kB / 0.6868 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.6279, allocations: 114.5 kB / 0.6869 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.6283, allocations: 178.7 kB / 0.687 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6283, allocations: 0 / 0.687 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005621/0.6289, allocations: 258.2 kB / 0.6873 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.6289, allocations: 8 kB / 0.6873 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.6289, allocations: 0 / 0.6873 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.6291, allocations: 48.83 kB / 0.6873 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.6295, allocations: 55.91 kB / 0.6874 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000524/0.63, allocations: 0.568 MB / 0.6879 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.6302, allocations: 8.031 kB / 0.688 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.6303, allocations: 31.98 kB / 0.688 GB, free: 0.6641 MB / 0.5294 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 () * 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.0001448/0.6305, allocations: 121.8 kB / 0.6881 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.6305, allocations: 11.89 kB / 0.6881 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008142/0.6313, allocations: 350.7 kB / 0.6884 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6314, allocations: 4 kB / 0.6884 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6314, allocations: 0 / 0.6884 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.6314, allocations: 4 kB / 0.6885 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.6325, allocations: 0.6255 MB / 0.6891 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6325, allocations: 0 / 0.6891 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.6329, allocations: 63.98 kB / 0.6891 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-05/0.633, allocations: 24.84 kB / 0.6891 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.633, allocations: 12 kB / 0.6892 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.6341, allocations: 1.365 MB / 0.6905 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6341, allocations: 0 / 0.6905 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.6348, allocations: 438.6 kB / 0.6909 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.6349, allocations: 93 kB / 0.691 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.6349, allocations: 4 kB / 0.691 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.6352, allocations: 8 kB / 0.691 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.6352, allocations: 23.91 kB / 0.691 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.6353, allocations: 36.05 kB / 0.6911 GB, free: 13.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.565e-05/0.6353, allocations: 83.28 kB / 0.6911 GB, free: 13.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6353, allocations: 0 / 0.6911 GB, free: 13.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004534/0.6358, allocations: 87.86 kB / 0.6912 GB, free: 13.07 MB / 0.545 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 () * 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.0004215/0.6362, allocations: 151.1 kB / 0.6914 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005699/0.6368, allocations: 195.8 kB / 0.6916 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6368, allocations: 0 / 0.6916 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.6372, allocations: 230.8 kB / 0.6918 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.6377, allocations: 48.38 kB / 0.6918 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.6386, allocations: 0.5028 MB / 0.6923 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.639, allocations: 0.7046 MB / 0.693 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.6392, allocations: 59.41 kB / 0.6931 GB, free: 11.1 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6392, allocations: 3.938 kB / 0.6931 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Templates: time 0.007611/0.6468, allocations: 3.887 MB / 0.6969 GB, free: 7.203 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches