Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001988/0.001988, allocations: 109.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002787/0.002787, allocations: 208 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4721/0.4721, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002418, allocations: 71.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 62.44 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.002841/1.018, allocations: 481.8 kB / 0.5321 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/1.02, allocations: 294.3 kB / 0.5324 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/1.02, allocations: 5.25 kB / 0.5324 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/1.02, allocations: 3.938 kB / 0.5324 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.167e-05/1.02, allocations: 0 / 0.5324 GB, free: 13.02 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:221:3-287: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.001633/1.022, allocations: 99.56 kB / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.37e-05/1.022, allocations: 1.875 kB / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.4e-05/1.022, allocations: 5.938 kB / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.875e-05/1.022, allocations: 0 / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.252e-05/1.022, allocations: 1.938 kB / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/1.022, allocations: 0 / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/1.022, allocations: 112.8 kB / 0.5326 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/1.022, allocations: 0 / 0.5326 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/1.023, allocations: 1.469 kB / 0.5326 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003857/1.023, allocations: 86.88 kB / 0.5327 GB, free: 12.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/1.023, allocations: 0 / 0.5327 GB, free: 12.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.127e-06/1.023, allocations: 0 / 0.5327 GB, free: 12.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/1.023, allocations: 0 / 0.5327 GB, free: 12.85 MB / 398.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.0007008/1.024, allocations: 364.9 kB / 0.533 GB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.728e-05/1.024, allocations: 9.469 kB / 0.533 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.352e-05/1.024, allocations: 4.922 kB / 0.5331 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/1.024, allocations: 161.9 kB / 0.5332 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/1.024, allocations: 384 / 0.5332 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/1.024, allocations: 1.75 kB / 0.5332 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/1.024, allocations: 31.42 kB / 0.5332 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/1.024, allocations: 1.281 kB / 0.5332 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/1.024, allocations: 3.938 kB / 0.5332 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/1.024, allocations: 9.141 kB / 0.5333 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.873e-05/1.025, allocations: 5.562 kB / 0.5333 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/1.025, allocations: 149.7 kB / 0.5334 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.66e-05/1.025, allocations: 17.83 kB / 0.5334 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/1.025, allocations: 4.859 kB / 0.5334 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/1.025, allocations: 5.406 kB / 0.5334 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/1.025, allocations: 65.73 kB / 0.5335 GB, free: 11.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.134e-06/1.025, allocations: 0 / 0.5335 GB, free: 11.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003794/1.026, allocations: 71.08 kB / 0.5336 GB, free: 11.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/1.026, allocations: 77.11 kB / 0.5336 GB, free: 11.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/1.026, allocations: 97.75 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/1.026, allocations: 26.83 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/1.026, allocations: 80.14 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/1.026, allocations: 1.656 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/1.026, allocations: 11.34 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002596/1.026, allocations: 318.8 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/1.026, allocations: 1.562 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/1.026, allocations: 5.672 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/1.026, allocations: 62.92 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.026, allocations: 0 / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001483/1.027, allocations: 59.09 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.239e-05/1.027, allocations: 35.64 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.027, allocations: 8.078 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.68e-05/1.027, allocations: 3.938 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/1.027, allocations: 0 / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.027, allocations: 1.406 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/1.027, allocations: 0 / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/1.027, allocations: 1.594 kB / 0.5343 GB, free: 10.98 MB / 398.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.0002101/1.027, allocations: 137.3 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/1.027, allocations: 1.781 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/1.027, allocations: 3.125 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.027, allocations: 7.938 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/1.027, allocations: 0 / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/1.027, allocations: 82.81 kB / 0.5345 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/1.027, allocations: 0 / 0.5345 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/1.027, allocations: 1.938 kB / 0.5345 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/1.028, allocations: 3.938 kB / 0.5345 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002258/1.028, allocations: 191.2 kB / 0.5347 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002585/1.028, allocations: 243.3 kB / 0.535 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.312e-05/1.028, allocations: 5.75 kB / 0.535 GB, free: 10.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.349e-05/1.028, allocations: 77.06 kB / 0.535 GB, free: 10.19 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/1.028, allocations: 0 / 0.535 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/1.03, allocations: 318.3 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of SimCode: time 0.001006/1.031, allocations: 0.5757 MB / 0.5359 GB, free: 9.336 MB / 398.1 MB Notification: Performance of Templates: time 0.0205/1.051, allocations: 0.9886 MB / 0.5369 GB, free: 8.812 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches