Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 95.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 202 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2541/0.2541, allocations: 46.2 MB / 345.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004266, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1773, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.5598/0.7372, allocations: 198.9 MB / 0.666 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01891/0.7561, allocations: 11.63 MB / 0.6773 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.7579, allocations: 43.62 kB / 0.6774 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.7593, allocations: 405.7 kB / 0.6777 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007913/0.7673, allocations: 2.31 MB / 0.68 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01067/0.778, allocations: 2.833 MB / 0.6828 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007044/0.785, allocations: 4.651 MB / 0.6873 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.7864, allocations: 0.6703 MB / 0.688 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.7888, allocations: 1.082 MB / 0.689 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.7907, allocations: 1.312 MB / 0.6903 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.7909, allocations: 56 kB / 0.6904 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00617/0.797, allocations: 2.702 MB / 0.693 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005435/0.7976, allocations: 378.8 kB / 0.6934 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008415/0.7985, allocations: 0.612 MB / 0.694 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005914/0.8044, allocations: 3.331 MB / 0.6972 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8044, allocations: 0 / 0.6972 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.916e-06/0.8044, allocations: 0 / 0.6972 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.8044, allocations: 4 kB / 0.6972 GB, free: 13.55 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004116/0.8086, allocations: 1.628 MB / 0.6988 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.8086, allocations: 15.97 kB / 0.6988 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.8099, allocations: 218.4 kB / 0.699 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.8113, allocations: 0.785 MB / 0.6998 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/0.8114, allocations: 61.97 kB / 0.6999 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.8115, allocations: 71.97 kB / 0.6999 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.8137, allocations: 1.24 MB / 0.7011 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.8138, allocations: 3.938 kB / 0.7011 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.8139, allocations: 39.91 kB / 0.7012 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/0.814, allocations: 82.44 kB / 0.7013 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.8162, allocations: 1.222 MB / 0.7024 GB, free: 8.043 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.008248/0.8244, allocations: 4.86 MB / 0.7072 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.8258, allocations: 0.7604 MB / 0.7079 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006759/0.8265, allocations: 394.4 kB / 0.7083 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003543/0.8269, allocations: 352.9 kB / 0.7086 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.827, allocations: 47.06 kB / 0.7087 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 4.418e-06/0.827, allocations: 3.984 kB / 0.7087 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.3392/1.166, allocations: 2.832 MB / 0.7115 GB, free: 197.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/1.166, allocations: 221.3 kB / 0.7117 GB, free: 197.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/1.169, allocations: 0.9383 MB / 0.7126 GB, free: 197 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/1.169, allocations: 41.36 kB / 0.7126 GB, free: 196.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000525/1.17, allocations: 483 kB / 0.7131 GB, free: 196.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/1.17, allocations: 261.9 kB / 0.7133 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/1.17, allocations: 83.59 kB / 0.7134 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.17, allocations: 341.9 kB / 0.7137 GB, free: 196.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009414/1.171, allocations: 442.1 kB / 0.7142 GB, free: 196.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/1.173, allocations: 0.6891 MB / 0.7148 GB, free: 195.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/1.175, allocations: 1.093 MB / 0.7159 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.175, allocations: 2.312 kB / 0.7159 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00316/1.178, allocations: 1.498 MB / 0.7174 GB, free: 194.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/1.178, allocations: 280.6 kB / 0.7176 GB, free: 194.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/1.178, allocations: 6.656 kB / 0.7176 GB, free: 194.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003824/1.182, allocations: 0.7212 MB / 0.7183 GB, free: 194 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/1.183, allocations: 183.8 kB / 0.7185 GB, free: 194 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/1.184, allocations: 1.288 MB / 0.7198 GB, free: 193.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/1.186, allocations: 74.84 kB / 0.7199 GB, free: 193.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/1.186, allocations: 99.72 kB / 0.7199 GB, free: 193.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/1.186, allocations: 4.438 kB / 0.72 GB, free: 193.2 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002555/1.188, allocations: 1.224 MB / 0.7211 GB, free: 192.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.188, allocations: 6.109 kB / 0.7212 GB, free: 192.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/1.19, allocations: 377.5 kB / 0.7215 GB, free: 192.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/1.191, allocations: 207.9 kB / 0.7217 GB, free: 192.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/1.192, allocations: 0.9693 MB / 0.7227 GB, free: 191.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009814/1.193, allocations: 66.17 kB / 0.7227 GB, free: 191.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/1.193, allocations: 98.31 kB / 0.7228 GB, free: 191.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (91): * Single equations (assignments): 90 * 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 {(2,28)} Notification: Performance of prepare postOptimizeDAE: time 0.000739/1.194, allocations: 374.3 kB / 0.7232 GB, free: 191.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/1.194, allocations: 113 kB / 0.7233 GB, free: 191.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/1.198, allocations: 1.916 MB / 0.7251 GB, free: 191 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.198, allocations: 10.98 kB / 0.7252 GB, free: 191 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/1.198, allocations: 1 kB / 0.7252 GB, free: 191 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/1.198, allocations: 3.844 kB / 0.7252 GB, free: 191 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/1.202, allocations: 2.523 MB / 0.7276 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.202, allocations: 2.844 kB / 0.7276 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/1.203, allocations: 186.3 kB / 0.7278 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/1.203, allocations: 25.52 kB / 0.7278 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.44e-05/1.203, allocations: 37.09 kB / 0.7279 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000741/1.204, allocations: 1.29 MB / 0.7291 GB, free: 188.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.204, allocations: 7.312 kB / 0.7291 GB, free: 188.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/1.207, allocations: 1.669 MB / 0.7308 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/1.207, allocations: 201.5 kB / 0.731 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/1.208, allocations: 20.56 kB / 0.731 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/1.208, allocations: 56.95 kB / 0.731 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.208, allocations: 77.11 kB / 0.7311 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.209, allocations: 74.5 kB / 0.7312 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000886/1.209, allocations: 0.6644 MB / 0.7318 GB, free: 187 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.243e-06/1.209, allocations: 0 / 0.7318 GB, free: 187 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002915/1.212, allocations: 1.016 MB / 0.7328 GB, free: 186.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (junction.medium.p,junction.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 (74): * Single equations (assignments): 73 * 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.001968/1.214, allocations: 0.8491 MB / 0.7336 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003112/1.217, allocations: 1.659 MB / 0.7353 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.218, allocations: 9.688 kB / 0.7353 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008296/1.218, allocations: 0.5763 MB / 0.7358 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/1.222, allocations: 0.593 MB / 0.7364 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/1.225, allocations: 2.492 MB / 0.7389 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/1.225, allocations: 1.086 MB / 0.7399 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002878/1.228, allocations: 1.492 MB / 0.7414 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006358/1.229, allocations: 199.3 kB / 0.7416 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of SimCode: time 2.034e-06/1.229, allocations: 4 kB / 0.7416 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.04879/1.278, allocations: 35.76 MB / 0.7765 GB, free: 146.3 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionVolume/TestJunctionVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches