Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009069/0.0009069, allocations: 185.7 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.017/1.017, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008587/0.0008589, allocations: 97.95 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1524/0.1524, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.629e-06/4.669e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2182, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9176/1.136, allocations: 0.6022 GB / 1.068 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.136, allocations: 81.77 kB / 1.068 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.155/2.291, allocations: 409.7 MB / 1.468 GB, free: 61.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.777e-05/2.291, allocations: 32.64 kB / 1.468 GB, free: 61.28 MB / 0.4948 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.004516/2.296, allocations: 1.902 MB / 1.47 GB, free: 60.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/2.296, allocations: 6.406 kB / 1.47 GB, free: 60.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/2.297, allocations: 211 kB / 1.47 GB, free: 60.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/2.299, allocations: 0.8695 MB / 1.471 GB, free: 60.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/2.299, allocations: 29.94 kB / 1.471 GB, free: 60.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/2.299, allocations: 39.88 kB / 1.471 GB, free: 60.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001405/2.3, allocations: 1.062 MB / 1.472 GB, free: 60.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/2.302, allocations: 1.138 MB / 1.473 GB, free: 59.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/2.302, allocations: 3.234 kB / 1.473 GB, free: 59.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/2.302, allocations: 3.875 kB / 1.473 GB, free: 59.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.691e-05/2.302, allocations: 87.17 kB / 1.473 GB, free: 59.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006801/2.309, allocations: 5.019 MB / 1.478 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/2.309, allocations: 458.8 kB / 1.478 GB, free: 57.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/2.31, allocations: 314.7 kB / 1.479 GB, free: 57.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/2.31, allocations: 314.1 kB / 1.479 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/2.31, allocations: 44.22 kB / 1.479 GB, free: 57.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 3.587e-06/2.31, allocations: 0 / 1.479 GB, free: 57.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.00785/2.318, allocations: 2.409 MB / 1.481 GB, free: 56.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/2.318, allocations: 217.9 kB / 1.482 GB, free: 56.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/2.319, allocations: 0.6984 MB / 1.482 GB, free: 56.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/2.319, allocations: 29.02 kB / 1.482 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/2.319, allocations: 403.1 kB / 1.483 GB, free: 55.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/2.319, allocations: 217.9 kB / 1.483 GB, free: 55.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/2.319, allocations: 0 / 1.483 GB, free: 55.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/2.319, allocations: 344.8 kB / 1.483 GB, free: 55.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/2.32, allocations: 386 kB / 1.484 GB, free: 55.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/2.321, allocations: 0.6177 MB / 1.484 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008599/2.329, allocations: 2.007 MB / 1.486 GB, free: 55.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/2.329, allocations: 2.531 kB / 1.486 GB, free: 55.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01044/2.34, allocations: 2.844 MB / 1.489 GB, free: 55.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003765/2.34, allocations: 2.182 MB / 1.491 GB, free: 52.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/2.34, allocations: 7.344 kB / 1.491 GB, free: 52.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/2.342, allocations: 486.7 kB / 1.491 GB, free: 52.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000686/2.343, allocations: 179.8 kB / 1.492 GB, free: 52.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/2.345, allocations: 1.479 MB / 1.493 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/2.346, allocations: 58.38 kB / 1.493 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/2.346, allocations: 87.33 kB / 1.493 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/2.346, allocations: 3.781 kB / 1.493 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009561/2.356, allocations: 2.518 MB / 1.496 GB, free: 52.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/2.356, allocations: 3.969 kB / 1.496 GB, free: 52.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/2.357, allocations: 330 kB / 1.496 GB, free: 52.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/2.358, allocations: 207.1 kB / 1.496 GB, free: 52.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008742/2.359, allocations: 1.013 MB / 1.497 GB, free: 51.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009907/2.36, allocations: 55.98 kB / 1.497 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/2.36, allocations: 83.16 kB / 1.497 GB, free: 51.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0002934/2.36, allocations: 131 kB / 1.497 GB, free: 51.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/2.36, allocations: 91.53 kB / 1.498 GB, free: 51.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/2.363, allocations: 1.193 MB / 1.499 GB, free: 51.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/2.363, allocations: 7.625 kB / 1.499 GB, free: 51.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/2.363, allocations: 3.281 kB / 1.499 GB, free: 51.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/2.363, allocations: 3.609 kB / 1.499 GB, free: 51.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/2.366, allocations: 1.857 MB / 1.501 GB, free: 51.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/2.366, allocations: 0 / 1.501 GB, free: 51.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/2.367, allocations: 157.6 kB / 1.501 GB, free: 51.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.8e-05/2.367, allocations: 21.03 kB / 1.501 GB, free: 51.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/2.367, allocations: 20.34 kB / 1.501 GB, free: 51.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006009/2.367, allocations: 1.232 MB / 1.502 GB, free: 49.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.367, allocations: 0 / 1.502 GB, free: 49.85 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002065/2.37, allocations: 1.434 MB / 1.503 GB, free: 49.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/2.37, allocations: 183.8 kB / 1.504 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/2.37, allocations: 3.062 kB / 1.504 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007261/2.371, allocations: 45.27 kB / 1.504 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/2.371, allocations: 51.5 kB / 1.504 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.561e-05/2.371, allocations: 51.47 kB / 1.504 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005926/2.372, allocations: 0.5289 MB / 1.504 GB, free: 49.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003417/2.375, allocations: 1.208 MB / 1.505 GB, free: 49.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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.003878/2.379, allocations: 2.168 MB / 1.507 GB, free: 48.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002447/2.381, allocations: 1.464 MB / 1.509 GB, free: 48.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/2.381, allocations: 0.5938 kB / 1.509 GB, free: 48.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000628/2.382, allocations: 478.5 kB / 1.509 GB, free: 48.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/2.384, allocations: 452.7 kB / 1.51 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/2.387, allocations: 1.473 MB / 1.511 GB, free: 48.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/2.388, allocations: 1.317 MB / 1.513 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of SimCode: time 1.363e-06/2.388, allocations: 3.812 kB / 1.513 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.06123/2.45, allocations: 44.21 MB / 1.556 GB, free: 20.89 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionVolume/TestJunctionVolume.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches