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.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 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 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.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 103.1 kB / 15.98 MB, free: 5.902 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.001113/0.001113, allocations: 188.8 kB / 16.9 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2573/0.2573, allocations: 43.52 MB / 313.6 MB, free: 0.6797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 77.73 kB / 382.2 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.149, allocations: 57.79 MB / 440 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.002506/0.1516, allocations: 0.5388 MB / 440.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007806/0.1524, allocations: 295.7 kB / 440.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.1524, allocations: 3.938 kB / 440.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.1524, allocations: 7.938 kB / 440.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.501e-06/0.1524, allocations: 4 kB / 440.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.1535, allocations: 83.3 kB / 440.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.305e-05/0.1535, allocations: 0 / 440.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.1536, allocations: 0 / 440.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.1536, allocations: 0 / 440.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.484e-05/0.1536, allocations: 4 kB / 440.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-06/0.1537, allocations: 0 / 440.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.1539, allocations: 103.9 kB / 441 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.1539, allocations: 3.984 kB / 441 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.1539, allocations: 4 kB / 441 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.1541, allocations: 87.81 kB / 441.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1541, allocations: 0 / 441.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1541, allocations: 0 / 441.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1542, allocations: 3.938 kB / 441.1 MB, free: 6.211 MB / 318.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.0003372/0.1545, allocations: 361.3 kB / 441.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1546, allocations: 11.89 kB / 441.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.1546, allocations: 8.844 kB / 441.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.844e-05/0.1547, allocations: 160.4 kB / 441.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1547, allocations: 384 / 441.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1547, allocations: 4.375 kB / 441.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1548, allocations: 34.25 kB / 441.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1549, allocations: 192 / 441.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1549, allocations: 3.938 kB / 441.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1549, allocations: 3.938 kB / 441.7 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.1549, allocations: 0 / 441.7 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.1551, allocations: 149.7 kB / 441.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.42e-05/0.1551, allocations: 22.52 kB / 441.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.1552, allocations: 8.844 kB / 441.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.1552, allocations: 4.094 kB / 441.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.1552, allocations: 56.27 kB / 441.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.1552, allocations: 0 / 441.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001901/0.1554, allocations: 71.28 kB / 442 MB, free: 5.141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1555, allocations: 77.11 kB / 442.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.174e-05/0.1555, allocations: 93.84 kB / 442.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.1555, allocations: 33.77 kB / 442.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.512e-05/0.1556, allocations: 80.14 kB / 442.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.1556, allocations: 288 / 442.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.1556, allocations: 13.72 kB / 442.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.1557, allocations: 310.8 kB / 442.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.1557, allocations: 0 / 442.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-06/0.1558, allocations: 4 kB / 442.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.966e-05/0.1558, allocations: 68.33 kB / 442.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1558, allocations: 0 / 442.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.231e-05/0.1559, allocations: 63.33 kB / 442.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.1559, allocations: 33.7 kB / 442.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.156, allocations: 0 / 442.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.156, allocations: 3.938 kB / 442.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.156, allocations: 0 / 442.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.156, allocations: 0 / 442.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.156, allocations: 3.938 kB / 442.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.156, allocations: 4 kB / 442.8 MB, free: 4.281 MB / 318.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.272e-05/0.1561, allocations: 147.5 kB / 442.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.1561, allocations: 0 / 442.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.273e-05/0.1562, allocations: 7.062 kB / 442.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1562, allocations: 8 kB / 442.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1562, allocations: 3.984 kB / 442.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1562, allocations: 0 / 442.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.986e-05/0.1563, allocations: 141.7 kB / 443.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1563, allocations: 3.984 kB / 443.1 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1563, allocations: 3.938 kB / 443.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1563, allocations: 4 kB / 443.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1563, allocations: 7.938 kB / 443.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1563, allocations: 0 / 443.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1563, allocations: 0 / 443.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.1564, allocations: 98.75 kB / 443.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.1565, allocations: 77.11 kB / 443.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1565, allocations: 3.938 kB / 443.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.1565, allocations: 0 / 443.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.1565, allocations: 4.031 kB / 443.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1566, allocations: 4 kB / 443.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.532e-05/0.1566, allocations: 75.28 kB / 443.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1566, allocations: 0 / 443.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.157, allocations: 35.98 kB / 443.4 MB, free: 3.559 MB / 318.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.0006158/0.1576, allocations: 255.8 kB / 443.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.1577, allocations: 67.39 kB / 443.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1577, allocations: 0 / 443.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.006e-05/0.1578, allocations: 55.41 kB / 443.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.158, allocations: 4 kB / 443.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.1583, allocations: 81.03 kB / 443.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.1584, allocations: 0.6768 MB / 444.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.046e-05/0.1585, allocations: 0 / 444.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.1585, allocations: 7.562 kB / 444.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of SimCode: time 1.963e-06/0.1585, allocations: 4 kB / 444.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of Templates: time 0.005614/0.1641, allocations: 0.9802 MB / 445.5 MB, free: 1.406 MB / 318.1 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