Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 106.8 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3485, allocations: 60.82 MB / 0.5195 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001913/0.3505, allocations: 495.3 kB / 0.52 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007701/0.3513, allocations: 294.2 kB / 0.5203 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.3514, allocations: 0 / 0.5203 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.3514, allocations: 0 / 0.5203 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.3514, allocations: 4 kB / 0.5203 GB, free: 3.141 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:222:3-288:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Streams' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009306/0.3523, allocations: 101.2 kB / 0.5204 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.923e-05/0.3524, allocations: 4.969 kB / 0.5204 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.3525, allocations: 1.828 kB / 0.5204 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.403e-05/0.3525, allocations: 2.047 kB / 0.5204 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.378e-05/0.3525, allocations: 1.281 kB / 0.5204 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.3526, allocations: 0 / 0.5204 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.3528, allocations: 114.2 kB / 0.5205 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.3529, allocations: 3.984 kB / 0.5205 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.3529, allocations: 1.469 kB / 0.5205 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.3531, allocations: 83.31 kB / 0.5206 GB, free: 3.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3531, allocations: 0 / 0.5206 GB, free: 3.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.3532, allocations: 0 / 0.5206 GB, free: 3.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3532, allocations: 5.125 kB / 0.5206 GB, free: 3.016 MB / 382.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.0003687/0.3535, allocations: 363.4 kB / 0.521 GB, free: 2.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3536, allocations: 8.781 kB / 0.521 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.3536, allocations: 0.9375 kB / 0.521 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.757e-05/0.3537, allocations: 163.1 kB / 0.5211 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.3537, allocations: 384 / 0.5211 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3538, allocations: 2.344 kB / 0.5211 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.557e-05/0.3539, allocations: 33.12 kB / 0.5212 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3539, allocations: 1.031 kB / 0.5212 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3539, allocations: 3.938 kB / 0.5212 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3539, allocations: 5.125 kB / 0.5212 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.094e-05/0.3539, allocations: 5.156 kB / 0.5212 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.354, allocations: 144.2 kB / 0.5213 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.3541, allocations: 17.48 kB / 0.5213 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.3541, allocations: 10.75 kB / 0.5213 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.3541, allocations: 0 / 0.5213 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.3542, allocations: 62.25 kB / 0.5214 GB, free: 2.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3542, allocations: 1.062 kB / 0.5214 GB, free: 2.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000198/0.3544, allocations: 68.56 kB / 0.5215 GB, free: 2.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.3544, allocations: 78.45 kB / 0.5215 GB, free: 1.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.006e-05/0.3545, allocations: 90.7 kB / 0.5216 GB, free: 1.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.3545, allocations: 31.17 kB / 0.5216 GB, free: 1.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.794e-05/0.3545, allocations: 84.14 kB / 0.5217 GB, free: 1.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.3545, allocations: 0 / 0.5217 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.3546, allocations: 17.44 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.3546, allocations: 315.5 kB / 0.522 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.3546, allocations: 1.375 kB / 0.522 GB, free: 1.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-06/0.3547, allocations: 1.156 kB / 0.522 GB, free: 1.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.3547, allocations: 61.7 kB / 0.5221 GB, free: 1.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3547, allocations: 8 kB / 0.5221 GB, free: 1.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.35e-05/0.3548, allocations: 63.3 kB / 0.5222 GB, free: 1.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.3548, allocations: 32.02 kB / 0.5222 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3548, allocations: 1.25 kB / 0.5222 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3549, allocations: 3.938 kB / 0.5222 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.314e-06/0.3549, allocations: 1.375 kB / 0.5222 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3549, allocations: 0.7031 kB / 0.5222 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.3549, allocations: 0 / 0.5222 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.3549, allocations: 1.156 kB / 0.5222 GB, free: 1.184 MB / 382.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 6.821e-05/0.355, allocations: 139.9 kB / 0.5223 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.355, allocations: 0 / 0.5223 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.323e-05/0.355, allocations: 9.031 kB / 0.5224 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.355, allocations: 8.578 kB / 0.5224 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.355, allocations: 0 / 0.5224 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.3551, allocations: 79.17 kB / 0.5224 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3551, allocations: 0.7031 kB / 0.5224 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-06/0.3551, allocations: 1.438 kB / 0.5224 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.3551, allocations: 0 / 0.5224 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.247e-05/0.3552, allocations: 202.5 kB / 0.5226 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.697e-05/0.3553, allocations: 242.4 kB / 0.5229 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.99e-05/0.3553, allocations: 3.375 kB / 0.5229 GB, free: 480 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.542e-05/0.3554, allocations: 75.28 kB / 0.5229 GB, free: 404 kB / 382.1 MB Notification: Performance of Backend: time 1.4e-07/0.3554, allocations: 0 / 0.5229 GB, free: 404 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000843/0.3562, allocations: 323.7 kB / 0.5232 GB, free: 204 kB / 382.1 MB Notification: Performance of SimCode: time 0.000416/0.3566, allocations: 0.5894 MB / 0.5238 GB, free: 15.56 MB / 398.1 MB Notification: Performance of Templates: time 0.004532/0.3612, allocations: 0.9904 MB / 0.5248 GB, free: 15.41 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStreams/TestStreams.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches