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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008157/0.0008158, allocations: 90.58 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3431/0.3431, allocations: 43.47 MB / 358.6 MB, free: 51.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.349e-05, allocations: 0 / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1187, allocations: 58.85 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3597/0.4785, allocations: 84.87 MB / 0.5557 GB, free: 18.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4788, allocations: 58.84 kB / 0.5557 GB, free: 18.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005911/0.4847, allocations: 2.287 MB / 0.558 GB, free: 17.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4847, allocations: 4 kB / 0.558 GB, free: 17.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.4848, allocations: 0.7188 kB / 0.558 GB, free: 17.03 MB / 394.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.0002301/0.485, allocations: 357.5 kB / 0.5583 GB, free: 16.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.485, allocations: 12.03 kB / 0.5583 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.4851, allocations: 8.344 kB / 0.5583 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.829e-05/0.4851, allocations: 164.6 kB / 0.5585 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.4852, allocations: 0 / 0.5585 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.4852, allocations: 0 / 0.5585 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.467e-05/0.4853, allocations: 29.7 kB / 0.5585 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4853, allocations: 1.5 kB / 0.5585 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.4853, allocations: 0 / 0.5585 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4853, allocations: 2.438 kB / 0.5585 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.4853, allocations: 7.938 kB / 0.5585 GB, free: 16.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.286e-05/0.4854, allocations: 147 kB / 0.5587 GB, free: 16.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.156e-05/0.4855, allocations: 22.39 kB / 0.5587 GB, free: 16.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.4855, allocations: 8.953 kB / 0.5587 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.902e-06/0.4855, allocations: 0 / 0.5587 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.4855, allocations: 57.72 kB / 0.5588 GB, free: 16.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4855, allocations: 0 / 0.5588 GB, free: 16.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000137/0.4857, allocations: 64.7 kB / 0.5588 GB, free: 16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.4857, allocations: 78.7 kB / 0.5589 GB, free: 15.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.965e-05/0.4857, allocations: 90.83 kB / 0.559 GB, free: 15.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.4858, allocations: 25.7 kB / 0.559 GB, free: 15.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.379e-05/0.4858, allocations: 84.02 kB / 0.5591 GB, free: 15.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.4858, allocations: 0 / 0.5591 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.4858, allocations: 4 kB / 0.5591 GB, free: 15.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.4859, allocations: 314.1 kB / 0.5594 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-06/0.4859, allocations: 0 / 0.5594 GB, free: 15.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.4859, allocations: 1.641 kB / 0.5594 GB, free: 15.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.092e-05/0.4859, allocations: 33.77 kB / 0.5594 GB, free: 15.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4859, allocations: 0 / 0.5594 GB, free: 15.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.739e-05/0.486, allocations: 63.25 kB / 0.5595 GB, free: 15.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.486, allocations: 35.06 kB / 0.5595 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.486, allocations: 0 / 0.5595 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.486, allocations: 3.938 kB / 0.5595 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-06/0.486, allocations: 0 / 0.5595 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.486, allocations: 0 / 0.5595 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.4861, allocations: 0.5625 kB / 0.5595 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.4861, allocations: 4 kB / 0.5595 GB, free: 15.23 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.4861, allocations: 137.8 kB / 0.5597 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.4861, allocations: 4.578 kB / 0.5597 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.236e-05/0.4862, allocations: 8.156 kB / 0.5597 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.4862, allocations: 0 / 0.5597 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4862, allocations: 1.062 kB / 0.5597 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4862, allocations: 0 / 0.5597 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.626e-05/0.4862, allocations: 144.3 kB / 0.5598 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.4862, allocations: 0 / 0.5598 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.4862, allocations: 0 / 0.5598 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4863, allocations: 13.31 kB / 0.5598 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.4863, allocations: 0 / 0.5598 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4863, allocations: 2.062 kB / 0.5598 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4863, allocations: 0 / 0.5598 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.255e-05/0.4864, allocations: 93.7 kB / 0.5599 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.4864, allocations: 77.11 kB / 0.56 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.4864, allocations: 5.453 kB / 0.56 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-06/0.4864, allocations: 1.406 kB / 0.56 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.4864, allocations: 11.97 kB / 0.56 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.4864, allocations: 0 / 0.56 GB, free: 14.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.489e-05/0.4865, allocations: 75.28 kB / 0.5601 GB, free: 14.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4865, allocations: 0 / 0.5601 GB, free: 14.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.4867, allocations: 42.42 kB / 0.5601 GB, free: 14.55 MB / 394.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004745/0.4872, allocations: 271.9 kB / 0.5604 GB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.997e-05/0.4873, allocations: 59.41 kB / 0.5604 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4873, allocations: 0 / 0.5604 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/0.4873, allocations: 60.8 kB / 0.5605 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.116e-05/0.4874, allocations: 0.5469 kB / 0.5605 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001318/0.4875, allocations: 48.3 kB / 0.5605 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.4876, allocations: 0.6747 MB / 0.5612 GB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.239e-06/0.4877, allocations: 0 / 0.5612 GB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-06/0.4877, allocations: 8.969 kB / 0.5612 GB, free: 13.45 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4877, allocations: 4 kB / 0.5612 GB, free: 13.44 MB / 394.7 MB Notification: Performance of Templates: time 0.003088/0.4908, allocations: 0.931 MB / 0.5621 GB, free: 12.87 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches