Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9682/0.9682, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1609/0.1609, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.508e-05, allocations: 2.312 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.004617/0.004643, allocations: 0.5406 MB / 299.6 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006107/0.005253, allocations: 314.9 kB / 299.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.005273, allocations: 0 / 299.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.005287, allocations: 0 / 299.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.082e-06/0.005293, allocations: 0 / 299.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007375/0.00603, allocations: 91.64 kB / 300 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.006081, allocations: 4 kB / 300 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.006116, allocations: 3.984 kB / 300 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.006143, allocations: 4 kB / 300 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.777e-05/0.006161, allocations: 0 / 300 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.006169, allocations: 0 / 300 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.006382, allocations: 119.8 kB / 300.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.006389, allocations: 0 / 300.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.241e-05/0.006401, allocations: 0 / 300.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.006599, allocations: 107.7 kB / 300.2 MB, free: 1.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.006602, allocations: 0 / 300.2 MB, free: 1.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006603, allocations: 4 kB / 300.3 MB, free: 1.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.006607, allocations: 0 / 300.3 MB, free: 1.016 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002423/0.00685, allocations: 266.2 kB / 300.5 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.006882, allocations: 8.031 kB / 300.5 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.006909, allocations: 4.938 kB / 300.5 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.015e-05/0.006969, allocations: 105.8 kB / 300.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.006979, allocations: 384 / 300.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-06/0.006984, allocations: 4.375 kB / 300.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.698e-05/0.007051, allocations: 55.97 kB / 300.7 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.00706, allocations: 4.172 kB / 300.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.007067, allocations: 4.359 kB / 300.7 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.007072, allocations: 4.375 kB / 300.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.007095, allocations: 41.52 kB / 300.7 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.01016, allocations: 53.05 kB / 300.8 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.707e-05/0.01021, allocations: 44.31 kB / 300.8 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.01022, allocations: 30.56 kB / 300.9 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.01023, allocations: 4.062 kB / 300.9 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.01027, allocations: 56.27 kB / 300.9 MB, free: 220 kB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.01028, allocations: 0 / 300.9 MB, free: 220 kB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000119/0.01039, allocations: 118.7 kB / 301 MB, free: 76 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1517/0.1621, allocations: 85.23 kB / 301.1 MB, free: 19.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.619e-05/0.1621, allocations: 89.86 kB / 301.2 MB, free: 19.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1622, allocations: 25.7 kB / 301.2 MB, free: 19.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.307e-05/0.1622, allocations: 80.14 kB / 301.3 MB, free: 19.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.1622, allocations: 5.891 kB / 301.3 MB, free: 19.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.1622, allocations: 16.2 kB / 301.3 MB, free: 19.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.096e-05/0.1623, allocations: 316.1 kB / 301.6 MB, free: 19.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.1623, allocations: 27.88 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.1623, allocations: 27.95 kB / 301.7 MB, free: 19.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.1623, allocations: 61.45 kB / 301.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1623, allocations: 0 / 301.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.984e-05/0.1624, allocations: 88.09 kB / 301.8 MB, free: 19.03 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.1625, allocations: 37.27 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1625, allocations: 1.047 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1625, allocations: 0.5312 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.1625, allocations: 0.8438 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.1625, allocations: 0.5 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.1625, allocations: 1.062 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1625, allocations: 2.375 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.1625, allocations: 139.2 kB / 302 MB, free: 18.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.1626, allocations: 1.125 kB / 302 MB, free: 18.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.241e-05/0.1626, allocations: 6.781 kB / 302 MB, free: 18.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1626, allocations: 5 kB / 302 MB, free: 18.85 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.1626, allocations: 0 / 302 MB, free: 18.85 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1626, allocations: 0.5625 kB / 302 MB, free: 18.85 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.908e-05/0.1626, allocations: 61.08 kB / 302.1 MB, free: 18.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1626, allocations: 0.9062 kB / 302.1 MB, free: 18.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.1626, allocations: 0.625 kB / 302.1 MB, free: 18.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1626, allocations: 3.266 kB / 302.1 MB, free: 18.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.1626, allocations: 1.203 kB / 302.1 MB, free: 18.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1626, allocations: 1.969 kB / 302.1 MB, free: 18.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1626, allocations: 0.8906 kB / 302.1 MB, free: 18.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.278e-05/0.1627, allocations: 117 kB / 302.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.1627, allocations: 2.812 kB / 302.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.1627, allocations: 2 kB / 302.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-06/0.1627, allocations: 5.719 kB / 302.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-06/0.1627, allocations: 1.5 kB / 302.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1627, allocations: 7 kB / 302.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.242e-06/0.1627, allocations: 4.859 kB / 302.2 MB, free: 18.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1627, allocations: 1.969 kB / 302.2 MB, free: 18.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.1629, allocations: 34.69 kB / 302.3 MB, free: 18.63 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005609/0.1635, allocations: 322.2 kB / 302.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.959e-05/0.1636, allocations: 115.6 kB / 302.7 MB, free: 18.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1636, allocations: 3.734 kB / 302.7 MB, free: 18.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.962e-05/0.1636, allocations: 86.86 kB / 302.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.497e-05/0.1636, allocations: 4.938 kB / 302.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001461/0.1638, allocations: 111.8 kB / 302.9 MB, free: 18.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.055e-05/0.1638, allocations: 57.97 kB / 303 MB, free: 18.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.001e-06/0.1638, allocations: 3.094 kB / 303 MB, free: 18.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.1639, allocations: 56.73 kB / 303 MB, free: 18.07 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1639, allocations: 0 / 303 MB, free: 18.07 MB / 282.7 MB Notification: Performance of Templates: time 0.003301/0.1672, allocations: 1.165 MB / 304.2 MB, free: 17.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestStreams/TestStreams.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.048715332057327]