Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002194/0.0022, allocations: 188.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.326/2.326, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001139/0.001139, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2934/0.2934, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004757, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 58.86 MB / 490.2 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0006495/0.1204, allocations: 216.7 kB / 490.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008651/0.1213, allocations: 282.9 kB / 490.7 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.637e-05/0.1213, allocations: 0 / 490.7 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.538e-06/0.1214, allocations: 4 kB / 490.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.1214, allocations: 0 / 490.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1218, allocations: 71.73 kB / 490.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 2.813e-05/0.1219, allocations: 0 / 490.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.1219, allocations: 3.984 kB / 490.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.542e-05/0.1219, allocations: 0 / 490.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.233e-05/0.122, allocations: 0 / 490.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-06/0.122, allocations: 0 / 490.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.1222, allocations: 83.92 kB / 490.9 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-06/0.1222, allocations: 0 / 490.9 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.1223, allocations: 25.7 kB / 490.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1224, allocations: 63.84 kB / 490.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1225, allocations: 0 / 490.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.44e-06/0.1225, allocations: 0 / 490.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1225, allocations: 3.938 kB / 491 MB, free: 8.613 MB / 330.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.0003651/0.1229, allocations: 353.1 kB / 491.3 MB, free: 8.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1229, allocations: 8.031 kB / 491.3 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.123, allocations: 4 kB / 491.3 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1231, allocations: 163 kB / 491.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1231, allocations: 0 / 491.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.1231, allocations: 0 / 491.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.901e-05/0.1232, allocations: 37.7 kB / 491.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1233, allocations: 0 / 491.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1233, allocations: 0 / 491.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1233, allocations: 0 / 491.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.1233, allocations: 7.922 kB / 491.5 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1235, allocations: 153.6 kB / 491.7 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.772e-05/0.1235, allocations: 18.52 kB / 491.7 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.1236, allocations: 4 kB / 491.7 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.1236, allocations: 60.36 kB / 491.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.1236, allocations: 0 / 491.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001859/0.1238, allocations: 63.39 kB / 491.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.1239, allocations: 85.05 kB / 491.9 MB, free: 7.473 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.151e-05/0.124, allocations: 89.86 kB / 492 MB, free: 7.375 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.124, allocations: 25.7 kB / 492 MB, free: 7.344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.1241, allocations: 150.6 kB / 492.1 MB, free: 7.195 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1241, allocations: 4.125 kB / 492.2 MB, free: 7.191 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.1241, allocations: 0 / 492.2 MB, free: 7.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1243, allocations: 314.8 kB / 492.5 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.1243, allocations: 4 kB / 492.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.1243, allocations: 0 / 492.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.304e-05/0.1243, allocations: 29.69 kB / 492.5 MB, free: 6.836 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1244, allocations: 3.938 kB / 492.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.675e-05/0.1245, allocations: 63.36 kB / 492.6 MB, free: 6.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/0.1245, allocations: 33.8 kB / 492.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1246, allocations: 4 kB / 492.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1246, allocations: 0 / 492.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.1246, allocations: 0 / 492.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1246, allocations: 3.984 kB / 492.6 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.1246, allocations: 0 / 492.6 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1247, allocations: 3.938 kB / 492.6 MB, free: 6.707 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.1248, allocations: 143.5 kB / 492.7 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.1248, allocations: 3.953 kB / 492.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.249e-05/0.1248, allocations: 7.125 kB / 492.8 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1248, allocations: 0 / 492.8 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.1248, allocations: 3.984 kB / 492.8 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1249, allocations: 4 kB / 492.8 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.125, allocations: 149.7 kB / 492.9 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.125, allocations: 0 / 492.9 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.125, allocations: 0 / 492.9 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.125, allocations: 3.953 kB / 492.9 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.125, allocations: 3.938 kB / 492.9 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1251, allocations: 4 kB / 492.9 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1251, allocations: 0 / 492.9 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.1252, allocations: 90.83 kB / 493 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.1253, allocations: 81.11 kB / 493.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1253, allocations: 3.953 kB / 493.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.1253, allocations: 0 / 493.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.1253, allocations: 3.938 kB / 493.1 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.1254, allocations: 0 / 493.1 MB, free: 6.105 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.366e-05/0.1254, allocations: 75.28 kB / 493.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1254, allocations: 8.031 kB / 493.2 MB, free: 6.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003484/0.1258, allocations: 35.98 kB / 493.2 MB, free: 5.988 MB / 330.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 (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.0007034/0.1265, allocations: 267.9 kB / 493.5 MB, free: 5.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.1266, allocations: 59.41 kB / 493.5 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1266, allocations: 0 / 493.5 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.726e-05/0.1267, allocations: 59.47 kB / 493.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.823e-05/0.1268, allocations: 0 / 493.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.127, allocations: 104.5 kB / 493.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1273, allocations: 0.6692 MB / 494.4 MB, free: 4.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.318e-05/0.1274, allocations: 7.438 kB / 494.4 MB, free: 4.777 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1274, allocations: 0 / 494.4 MB, free: 4.777 MB / 330.7 MB Notification: Performance of Templates: time 0.004062/0.1314, allocations: 1.202 MB / 495.6 MB, free: 3.574 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestStreams/TestStreams.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches