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.001945/0.001945, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.001955/0.001955, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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 1.453/1.453, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2599/0.2599, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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 2.104e-06/2.104e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.317e-05, allocations: 2.312 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.00197/0.002003, allocations: 0.4887 MB / 347.4 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003099, allocations: 307 kB / 347.7 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.003125, allocations: 4 kB / 347.7 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.003141, allocations: 0 / 347.7 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.534e-06/0.003148, allocations: 0 / 347.7 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.004372, allocations: 103.5 kB / 347.8 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.867e-05/0.004431, allocations: 4 kB / 347.8 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.004473, allocations: 0 / 347.8 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.00451, allocations: 3.938 kB / 347.8 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.491e-05/0.004535, allocations: 0 / 347.8 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.004545, allocations: 4 kB / 347.8 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.004795, allocations: 111.8 kB / 347.9 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.196e-06/0.004803, allocations: 0 / 347.9 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.004825, allocations: 4 kB / 347.9 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.00509, allocations: 115.7 kB / 348 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.005094, allocations: 0 / 348 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.005096, allocations: 0 / 348 MB, free: 8.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.005101, allocations: 0 / 348 MB, free: 8.707 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.0003561/0.005457, allocations: 385.9 kB / 348.4 MB, free: 8.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.005506, allocations: 8.031 kB / 348.4 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.005569, allocations: 4.938 kB / 348.4 MB, free: 8.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.314e-05/0.005642, allocations: 108.6 kB / 348.5 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.005663, allocations: 384 / 348.5 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.005674, allocations: 384 / 348.5 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.005797, allocations: 63.95 kB / 348.6 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.005809, allocations: 192 / 348.6 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.005823, allocations: 384 / 348.6 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.005828, allocations: 384 / 348.6 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.894e-05/0.005867, allocations: 37.58 kB / 348.6 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.006001, allocations: 108.6 kB / 348.7 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.505e-05/0.006086, allocations: 52.8 kB / 348.8 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.006118, allocations: 37.39 kB / 348.8 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.006134, allocations: 8.047 kB / 348.8 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.006177, allocations: 59.09 kB / 348.9 MB, free: 7.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.006179, allocations: 4 kB / 348.9 MB, free: 7.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002851/0.006464, allocations: 114.8 kB / 349 MB, free: 7.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.006504, allocations: 85.09 kB / 349.1 MB, free: 7.441 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.861e-05/0.006542, allocations: 146.2 kB / 349.2 MB, free: 7.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.006552, allocations: 25.7 kB / 349.3 MB, free: 7.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.898e-05/0.006571, allocations: 126.9 kB / 349.4 MB, free: 7.125 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.006597, allocations: 0 / 349.4 MB, free: 7.125 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.00664, allocations: 19.38 kB / 349.4 MB, free: 7.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.006736, allocations: 496.1 kB / 349.9 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.006761, allocations: 25.7 kB / 349.9 MB, free: 6.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.006781, allocations: 37.83 kB / 350 MB, free: 6.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.804e-05/0.006839, allocations: 67.08 kB / 350 MB, free: 6.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.006842, allocations: 0 / 350 MB, free: 6.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.608e-05/0.006938, allocations: 89.05 kB / 350.1 MB, free: 6.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.00697, allocations: 29.7 kB / 350.1 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.006977, allocations: 0 / 350.1 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.006997, allocations: 3.938 kB / 350.1 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.006998, allocations: 0 / 350.1 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.007007, allocations: 3.984 kB / 350.1 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.007033, allocations: 12.03 kB / 350.2 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.007042, allocations: 4 kB / 350.2 MB, free: 6.281 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 8.046e-05/0.007123, allocations: 182.3 kB / 350.3 MB, free: 6.086 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.007148, allocations: 0 / 350.3 MB, free: 6.086 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.399e-05/0.007162, allocations: 3 kB / 350.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007164, allocations: 0 / 350.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.007168, allocations: 0 / 350.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.007171, allocations: 0 / 350.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.905e-05/0.00724, allocations: 120.5 kB / 350.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.007243, allocations: 4 kB / 350.5 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.007244, allocations: 0 / 350.5 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.007247, allocations: 4 kB / 350.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.007255, allocations: 0 / 350.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007257, allocations: 0 / 350.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.007258, allocations: 4 kB / 350.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.007384, allocations: 143.7 kB / 350.6 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.007392, allocations: 3.984 kB / 350.6 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.00741, allocations: 0 / 350.6 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.472e-05/0.007424, allocations: 4 kB / 350.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.00745, allocations: 0 / 350.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.007454, allocations: 0 / 350.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.507e-05/0.00748, allocations: 127.2 kB / 350.7 MB, free: 5.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.00748, allocations: 0 / 350.7 MB, free: 5.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004113/0.007891, allocations: 35.92 kB / 350.8 MB, free: 5.574 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.00144/0.009331, allocations: 293.2 kB / 351.1 MB, free: 5.352 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.009473, allocations: 118.5 kB / 351.2 MB, free: 5.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.009476, allocations: 3.938 kB / 351.2 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.00952, allocations: 92.86 kB / 351.3 MB, free: 5.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.009731, allocations: 7.984 kB / 351.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.009986, allocations: 109.7 kB / 351.4 MB, free: 4.938 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.137e-05/0.01002, allocations: 51.36 kB / 351.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.242e-06/0.01002, allocations: 0 / 351.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.01004, allocations: 12.5 kB / 351.5 MB, free: 4.855 MB / 282.7 MB Notification: Performance of SimCode: time 1.001e-06/0.01004, allocations: 0 / 351.5 MB, free: 4.855 MB / 282.7 MB Notification: Performance of Templates: time 0.006251/0.01629, allocations: 1.031 MB / 352.5 MB, free: 3.824 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.900089352973737]