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.001476/0.001476, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.001006/0.001006, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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.9892/0.9892, allocations: 158.6 MB / 185.7 MB, free: 2.891 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.1332/0.1332, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.683e-06/1.683e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.772e-05, allocations: 6.25 kB / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001286/0.001314, allocations: 0.5073 MB / 348.1 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005945/0.001909, allocations: 299.1 kB / 348.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.001929, allocations: 4 kB / 348.4 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.001951, allocations: 0 / 348.4 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.001957, allocations: 0 / 348.4 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008561/0.002813, allocations: 110.9 kB / 348.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.00288, allocations: 7.969 kB / 348.6 MB, free: 8.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.002914, allocations: 4 kB / 348.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.821e-05/0.002942, allocations: 0 / 348.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.061e-05/0.002963, allocations: 0 / 348.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.525e-06/0.002971, allocations: 0 / 348.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.003149, allocations: 107.8 kB / 348.7 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.00316, allocations: 0 / 348.7 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.003183, allocations: 4 kB / 348.7 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.00339, allocations: 107.7 kB / 348.8 MB, free: 8.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.003394, allocations: 4 kB / 348.8 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003395, allocations: 0 / 348.8 MB, free: 8.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.003401, allocations: 0 / 348.8 MB, free: 8.34 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.0002789/0.003679, allocations: 385.9 kB / 349.2 MB, free: 7.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.003727, allocations: 12.02 kB / 349.2 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.003771, allocations: 0.9375 kB / 349.2 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.371e-05/0.003814, allocations: 120.5 kB / 349.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.003827, allocations: 384 / 349.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.003835, allocations: 384 / 349.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.466e-05/0.00392, allocations: 59.97 kB / 349.3 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.003928, allocations: 192 / 349.3 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.003936, allocations: 384 / 349.3 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.003943, allocations: 384 / 349.3 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.305e-05/0.003956, allocations: 29.64 kB / 349.4 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.576e-05/0.004022, allocations: 112.6 kB / 349.5 MB, free: 7.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.401e-05/0.004066, allocations: 64.72 kB / 349.5 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.206e-05/0.004078, allocations: 33.39 kB / 349.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-06/0.004083, allocations: 4 kB / 349.6 MB, free: 7.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.004115, allocations: 63.16 kB / 349.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.004116, allocations: 4 kB / 349.7 MB, free: 7.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000163/0.004279, allocations: 114.8 kB / 349.8 MB, free: 7.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.004305, allocations: 81.05 kB / 349.8 MB, free: 7.066 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.378e-05/0.004328, allocations: 142.2 kB / 350 MB, free: 6.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.004335, allocations: 29.7 kB / 350 MB, free: 6.879 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.199e-05/0.004347, allocations: 126.9 kB / 350.1 MB, free: 6.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.004365, allocations: 4 kB / 350.1 MB, free: 6.746 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.004386, allocations: 15.38 kB / 350.2 MB, free: 6.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.00443, allocations: 0.4883 MB / 350.6 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.004443, allocations: 29.7 kB / 350.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.004451, allocations: 33.77 kB / 350.7 MB, free: 6.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.004488, allocations: 67.09 kB / 350.8 MB, free: 6.066 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00449, allocations: 0 / 350.8 MB, free: 6.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.022e-05/0.00454, allocations: 89.09 kB / 350.9 MB, free: 5.961 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.004564, allocations: 29.7 kB / 350.9 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.004569, allocations: 3.938 kB / 350.9 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.004584, allocations: 4 kB / 350.9 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-06/0.004588, allocations: 0 / 350.9 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.004593, allocations: 0 / 350.9 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.373e-05/0.004607, allocations: 8.375 kB / 350.9 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.004613, allocations: 0 / 350.9 MB, free: 5.91 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.405e-05/0.004657, allocations: 186.3 kB / 351.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-06/0.004662, allocations: 4 kB / 351.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-06/0.004671, allocations: 7 kB / 351.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.004673, allocations: 0 / 351.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.004678, allocations: 4 kB / 351.1 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.00468, allocations: 0 / 351.1 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.089e-05/0.004721, allocations: 112.5 kB / 351.2 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.004722, allocations: 0 / 351.2 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-07/0.004722, allocations: 0 / 351.2 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.004724, allocations: 4 kB / 351.2 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.00473, allocations: 4 kB / 351.2 MB, free: 5.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.004732, allocations: 3.984 kB / 351.2 MB, free: 5.539 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.004733, allocations: 0 / 351.2 MB, free: 5.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.204e-05/0.004795, allocations: 131.7 kB / 351.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-06/0.004799, allocations: 7.984 kB / 351.4 MB, free: 5.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.004813, allocations: 4 kB / 351.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-06/0.004819, allocations: 0 / 351.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.00483, allocations: 0 / 351.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.004832, allocations: 0 / 351.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.266e-05/0.004845, allocations: 123.2 kB / 351.5 MB, free: 5.242 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004845, allocations: 0 / 351.5 MB, free: 5.242 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.005013, allocations: 31.94 kB / 351.5 MB, free: 5.211 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.0004896/0.005503, allocations: 306.2 kB / 351.8 MB, free: 4.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.999e-05/0.005593, allocations: 118.5 kB / 351.9 MB, free: 4.836 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.005595, allocations: 8.062 kB / 351.9 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.00561, allocations: 88.8 kB / 352 MB, free: 4.719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.958e-05/0.0057, allocations: 7.938 kB / 352 MB, free: 4.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001689/0.005869, allocations: 117.6 kB / 352.1 MB, free: 4.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.806e-05/0.005897, allocations: 51.36 kB / 352.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.013e-06/0.005904, allocations: 0 / 352.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.005917, allocations: 12.5 kB / 352.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.005918, allocations: 0 / 352.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of Templates: time 0.002952/0.00887, allocations: 1.149 MB / 353.4 MB, free: 3.328 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 -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.04073770577088]