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: 95.2 kB / 20.43 MB, free: 4.141 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.001665/0.001665, allocations: 169.3 kB / 23.8 MB, free: 0.7773 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.8299/0.8299, allocations: 158.6 MB / 185.7 MB, free: 2.887 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.1241/0.1241, allocations: 32.37 MB / 270.4 MB, free: 14.7 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 9.82e-07/9.82e-07, allocations: 0 / 347.6 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.107e-05, allocations: 4.281 kB / 347.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0007882/0.0007993, allocations: 0.5043 MB / 348.1 MB, free: 8.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004321/0.001231, allocations: 307 kB / 348.4 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.308e-05/0.001244, allocations: 0 / 348.4 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.001258, allocations: 3.938 kB / 348.4 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.486e-06/0.001261, allocations: 4 kB / 348.4 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.00179, allocations: 109.2 kB / 348.6 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.41e-05/0.001824, allocations: 0 / 348.6 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.153e-05/0.001846, allocations: 4 kB / 348.6 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.979e-05/0.001866, allocations: 0 / 348.6 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.539e-05/0.001881, allocations: 0 / 348.6 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.182e-06/0.001887, allocations: 0 / 348.6 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.002005, allocations: 111.8 kB / 348.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-06/0.002011, allocations: 0 / 348.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.373e-05/0.002024, allocations: 0 / 348.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.002164, allocations: 103.7 kB / 348.8 MB, free: 8.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.002165, allocations: 4 kB / 348.8 MB, free: 8.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.002166, allocations: 4 kB / 348.8 MB, free: 8.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.002169, allocations: 0 / 348.8 MB, free: 8.363 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.0001768/0.002346, allocations: 393.8 kB / 349.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.002374, allocations: 8.031 kB / 349.2 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.002397, allocations: 0.9375 kB / 349.2 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.162e-05/0.002428, allocations: 112.6 kB / 349.3 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.002436, allocations: 384 / 349.3 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-06/0.002443, allocations: 384 / 349.3 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.477e-05/0.002498, allocations: 63.95 kB / 349.3 MB, free: 7.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.002505, allocations: 4.188 kB / 349.3 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.002511, allocations: 384 / 349.3 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.002516, allocations: 384 / 349.3 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.145e-05/0.002528, allocations: 29.64 kB / 349.4 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.014e-05/0.002578, allocations: 108.6 kB / 349.5 MB, free: 7.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.59e-05/0.002604, allocations: 60.73 kB / 349.5 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.097e-05/0.002615, allocations: 37.38 kB / 349.6 MB, free: 7.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.002618, allocations: 3.984 kB / 349.6 MB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.002638, allocations: 63.16 kB / 349.6 MB, free: 7.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.002638, allocations: 0 / 349.6 MB, free: 7.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.833e-05/0.002736, allocations: 122.8 kB / 349.8 MB, free: 7.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.618e-05/0.002753, allocations: 81.09 kB / 349.8 MB, free: 7.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.794e-05/0.002771, allocations: 142.2 kB / 350 MB, free: 6.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-06/0.002775, allocations: 25.7 kB / 350 MB, free: 6.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.377e-06/0.002784, allocations: 126.9 kB / 350.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.002795, allocations: 0 / 350.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.002811, allocations: 23.38 kB / 350.2 MB, free: 6.742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.579e-05/0.002847, allocations: 496.1 kB / 350.6 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.002855, allocations: 29.7 kB / 350.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-06/0.002861, allocations: 29.64 kB / 350.7 MB, free: 6.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.002886, allocations: 71.27 kB / 350.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.002887, allocations: 0 / 350.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.5e-05/0.002922, allocations: 93.05 kB / 350.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.002936, allocations: 29.7 kB / 350.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.002939, allocations: 0 / 350.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.002949, allocations: 3.984 kB / 350.9 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.915e-06/0.002957, allocations: 4 kB / 350.9 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.002961, allocations: 0 / 350.9 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-06/0.00297, allocations: 4.281 kB / 350.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.002974, allocations: 4 kB / 350.9 MB, free: 5.93 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 3.375e-05/0.003008, allocations: 186.3 kB / 351.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-06/0.003012, allocations: 0 / 351.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-06/0.00302, allocations: 3 kB / 351.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.21e-07/0.003021, allocations: 0 / 351.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.003023, allocations: 4 kB / 351.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.003025, allocations: 0 / 351.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.602e-05/0.003051, allocations: 116.5 kB / 351.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-07/0.003052, allocations: 0 / 351.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-07/0.003052, allocations: 0 / 351.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.003053, allocations: 0 / 351.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.003057, allocations: 12 kB / 351.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-07/0.003058, allocations: 0 / 351.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.003058, allocations: 0 / 351.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.218e-05/0.003101, allocations: 131.7 kB / 351.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-06/0.003103, allocations: 4 kB / 351.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.003113, allocations: 4 kB / 351.4 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-06/0.003117, allocations: 4 kB / 351.4 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-06/0.003126, allocations: 0 / 351.4 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-06/0.003127, allocations: 0 / 351.4 MB, free: 5.387 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.709e-06/0.003137, allocations: 119.2 kB / 351.5 MB, free: 5.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003137, allocations: 0 / 351.5 MB, free: 5.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.003274, allocations: 35.95 kB / 351.5 MB, free: 5.234 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.0003788/0.003652, allocations: 312.8 kB / 351.8 MB, free: 4.992 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.074e-05/0.003723, allocations: 114.5 kB / 351.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.003724, allocations: 0 / 351.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.003739, allocations: 96.72 kB / 352 MB, free: 4.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.732e-05/0.003816, allocations: 12.12 kB / 352 MB, free: 4.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001262/0.003942, allocations: 109.7 kB / 352.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.636e-05/0.003958, allocations: 51.36 kB / 352.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.549e-06/0.003963, allocations: 0 / 352.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.013e-05/0.003973, allocations: 8.5 kB / 352.2 MB, free: 4.5 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.003974, allocations: 4 kB / 352.2 MB, free: 4.496 MB / 282.7 MB Notification: Performance of Templates: time 0.002031/0.006005, allocations: 1.024 MB / 353.2 MB, free: 3.473 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.0279554701410234]