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.001187/0.001187, allocations: 183 kB / 16.63 MB, free: 5.137 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.27/1.27, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.0009386/0.0009386, allocations: 94.28 kB / 269.9 MB, free: 8.441 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.305/0.305, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 55.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1092, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001817/0.111, allocations: 0.5425 MB / 487.5 MB, free: 12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007644/0.1118, allocations: 316.7 kB / 487.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.032e-05/0.1119, allocations: 0 / 487.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.1119, allocations: 0 / 487.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.589e-06/0.1119, allocations: 0 / 487.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008596/0.1128, allocations: 75.64 kB / 487.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.553e-05/0.1128, allocations: 4 kB / 487.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.1129, allocations: 4 kB / 487.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.1129, allocations: 3.938 kB / 487.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.719e-05/0.1129, allocations: 0 / 487.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-06/0.1129, allocations: 0 / 487.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.1131, allocations: 99.91 kB / 488 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.1131, allocations: 0 / 488 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.1132, allocations: 7.984 kB / 488 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1133, allocations: 83.81 kB / 488.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1133, allocations: 0 / 488.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1133, allocations: 4 kB / 488.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1133, allocations: 0 / 488.1 MB, free: 11.42 MB / 378.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.0003348/0.1137, allocations: 365.2 kB / 488.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1137, allocations: 12.03 kB / 488.5 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.1138, allocations: 0.9375 kB / 488.5 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.777e-05/0.1139, allocations: 165.5 kB / 488.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1139, allocations: 384 / 488.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.1139, allocations: 384 / 488.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.278e-05/0.114, allocations: 30.27 kB / 488.7 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.114, allocations: 192 / 488.7 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.114, allocations: 3.938 kB / 488.7 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.114, allocations: 4 kB / 488.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/0.1141, allocations: 4 kB / 488.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.1142, allocations: 153.6 kB / 488.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/0.1143, allocations: 18.52 kB / 488.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.1143, allocations: 8.953 kB / 488.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.1143, allocations: 3.984 kB / 488.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.1143, allocations: 60.27 kB / 488.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1143, allocations: 0 / 488.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000182/0.1145, allocations: 79.17 kB / 489 MB, free: 10.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.1146, allocations: 77.11 kB / 489.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.537e-05/0.1147, allocations: 89.86 kB / 489.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1147, allocations: 25.7 kB / 489.2 MB, free: 10.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.1147, allocations: 84.14 kB / 489.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.1147, allocations: 0 / 489.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.1148, allocations: 9.719 kB / 489.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1149, allocations: 315 kB / 489.6 MB, free: 9.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.1149, allocations: 4 kB / 489.6 MB, free: 9.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-06/0.1149, allocations: 0 / 489.6 MB, free: 9.699 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.336e-05/0.115, allocations: 68.25 kB / 489.7 MB, free: 9.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.115, allocations: 3.938 kB / 489.7 MB, free: 9.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.801e-05/0.1151, allocations: 63.34 kB / 489.7 MB, free: 9.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.1151, allocations: 29.7 kB / 489.8 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1151, allocations: 96 / 489.8 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1151, allocations: 7.938 kB / 489.8 MB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-06/0.1152, allocations: 3.984 kB / 489.8 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1152, allocations: 0 / 489.8 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.1152, allocations: 4 kB / 489.8 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.1152, allocations: 0 / 489.8 MB, free: 9.488 MB / 378.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 0.0001015/0.1153, allocations: 135.5 kB / 489.9 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.1153, allocations: 4 kB / 489.9 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.229e-05/0.1154, allocations: 7.062 kB / 489.9 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1154, allocations: 4 kB / 489.9 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1154, allocations: 0 / 489.9 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1154, allocations: 0 / 489.9 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.716e-05/0.1155, allocations: 146 kB / 490.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1155, allocations: 0 / 490.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-06/0.1155, allocations: 8 kB / 490.1 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1155, allocations: 0 / 490.1 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1155, allocations: 3.938 kB / 490.1 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1155, allocations: 0 / 490.1 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1155, allocations: 0 / 490.1 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.1159, allocations: 0.6413 MB / 490.7 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.1159, allocations: 77.11 kB / 490.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1159, allocations: 0 / 490.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.063e-05/0.1159, allocations: 4 kB / 490.8 MB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.116, allocations: 3.938 kB / 490.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.116, allocations: 0 / 490.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.251e-05/0.116, allocations: 79.31 kB / 490.9 MB, free: 8.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.116, allocations: 3.938 kB / 490.9 MB, free: 8.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.1163, allocations: 35.98 kB / 490.9 MB, free: 8.195 MB / 378.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.0005003/0.1169, allocations: 283.1 kB / 491.2 MB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.121e-05/0.117, allocations: 63.39 kB / 491.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.117, allocations: 0 / 491.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.117, allocations: 55.47 kB / 491.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.1171, allocations: 7.938 kB / 491.3 MB, free: 7.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.1174, allocations: 177.5 kB / 491.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1176, allocations: 0.6692 MB / 492.2 MB, free: 6.883 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.929e-06/0.1176, allocations: 0 / 492.2 MB, free: 6.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-06/0.1176, allocations: 7.438 kB / 492.2 MB, free: 6.875 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1176, allocations: 4 kB / 492.2 MB, free: 6.871 MB / 378.7 MB Notification: Performance of Templates: time 0.003223/0.1209, allocations: 0.9686 MB / 493.2 MB, free: 5.902 MB / 378.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@2/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