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.001577/0.001577, allocations: 77.23 kB / 19.93 MB, free: 1.785 MB / 14.72 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.001632/0.001632, allocations: 162.4 kB / 23.21 MB, free: 4.906 MB / 14.72 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.573/1.573, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 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.2291/0.2291, allocations: 32.39 MB / 269.6 MB, free: 4.668 MB / 254.1 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 3.356e-06/3.356e-06, allocations: 0 / 407.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.405e-05/5.741e-05, allocations: 6.281 kB / 407.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.002815/0.002872, allocations: 495 kB / 407.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.004288, allocations: 300.8 kB / 408.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.004314, allocations: 4 kB / 408.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.004335, allocations: 0 / 408.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.546e-06/0.004343, allocations: 0 / 408.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.005808, allocations: 99.25 kB / 408.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.301e-05/0.005881, allocations: 3.938 kB / 408.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.595e-05/0.005937, allocations: 7.984 kB / 408.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.00598, allocations: 0 / 408.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.375e-05/0.006004, allocations: 0 / 408.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.006013, allocations: 0 / 408.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.006407, allocations: 111.8 kB / 408.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.006419, allocations: 0 / 408.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.00644, allocations: 4 kB / 408.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.006796, allocations: 111.7 kB / 408.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.0068, allocations: 0 / 408.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006801, allocations: 0 / 408.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.006806, allocations: 0 / 408.4 MB, free: 1.938 MB / 334.1 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.0005529/0.007359, allocations: 280 kB / 408.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.007417, allocations: 15.97 kB / 408.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.007478, allocations: 0.9375 kB / 408.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.007643, allocations: 109.8 kB / 408.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.007662, allocations: 384 / 408.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.007673, allocations: 4.375 kB / 408.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.007841, allocations: 63.91 kB / 408.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.007855, allocations: 192 / 408.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.007869, allocations: 4.375 kB / 408.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.007876, allocations: 384 / 408.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.007931, allocations: 29.64 kB / 408.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.008158, allocations: 101.3 kB / 409 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.008256, allocations: 40.28 kB / 409.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.008321, allocations: 38.66 kB / 409.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.008334, allocations: 0 / 409.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.261e-05/0.008427, allocations: 60.2 kB / 409.2 MB, free: 1.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.913e-06/0.008429, allocations: 4 kB / 409.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003208/0.00875, allocations: 118.7 kB / 409.3 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.00886, allocations: 81.11 kB / 409.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.008939, allocations: 93.86 kB / 409.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.008965, allocations: 25.7 kB / 409.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.009028, allocations: 80.14 kB / 409.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.009052, allocations: 3.953 kB / 409.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.009104, allocations: 13.72 kB / 409.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.009328, allocations: 314.8 kB / 409.9 MB, free: 264 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.009367, allocations: 33.81 kB / 409.9 MB, free: 224 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.653e-05/0.009394, allocations: 33.7 kB / 410 MB, free: 184 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.009515, allocations: 68.2 kB / 410 MB, free: 100 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.009517, allocations: 0 / 410 MB, free: 100 kB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000179/0.009696, allocations: 85.16 kB / 410.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/0.009763, allocations: 33.7 kB / 410.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.009771, allocations: 0 / 410.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.009793, allocations: 3.984 kB / 410.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-06/0.009795, allocations: 0 / 410.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.009801, allocations: 0 / 410.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.009829, allocations: 8.031 kB / 410.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.009842, allocations: 4 kB / 410.2 MB, free: 15.94 MB / 350.1 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 0.0001577/0.01, allocations: 135.5 kB / 410.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.01002, allocations: 4 kB / 410.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.01004, allocations: 6.984 kB / 410.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01004, allocations: 0 / 410.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.01005, allocations: 0 / 410.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01005, allocations: 0 / 410.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.01019, allocations: 105.1 kB / 410.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.0102, allocations: 4 kB / 410.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/0.0102, allocations: 7.938 kB / 410.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.0102, allocations: 0 / 410.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01021, allocations: 0 / 410.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01021, allocations: 0 / 410.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01022, allocations: 0 / 410.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.01042, allocations: 120.5 kB / 410.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.01043, allocations: 0 / 410.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.01045, allocations: 4 kB / 410.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.01046, allocations: 3.938 kB / 410.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.01049, allocations: 3.984 kB / 410.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.01049, allocations: 0 / 410.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.01055, allocations: 83.31 kB / 410.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01055, allocations: 0 / 410.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004555/0.01101, allocations: 31.94 kB / 410.7 MB, free: 15.36 MB / 350.1 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.001142/0.01215, allocations: 296.4 kB / 410.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.01236, allocations: 114.8 kB / 411.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.01236, allocations: 0 / 411.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.529e-05/0.01246, allocations: 89.16 kB / 411.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.01268, allocations: 4 kB / 411.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.013, allocations: 106.7 kB / 411.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.361e-05/0.01307, allocations: 55.34 kB / 411.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.883e-06/0.01307, allocations: 0 / 411.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.01309, allocations: 12.5 kB / 411.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01309, allocations: 0 / 411.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of Templates: time 0.007015/0.02011, allocations: 1 MB / 412.3 MB, free: 13.65 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) [Timeout 480] 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: 5.300824265927076]