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.00138/0.00138, allocations: 109.2 kB / 17.03 MB, free: 5.707 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.001458/0.001458, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.326/1.326, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2113/0.2113, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 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.001677/0.001678, allocations: 65.17 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.09113, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001839/0.093, allocations: 488.2 kB / 442.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006163/0.09364, allocations: 299.7 kB / 442.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.579e-05/0.09367, allocations: 0 / 442.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.427e-06/0.09369, allocations: 0 / 442.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.99e-06/0.09372, allocations: 0 / 442.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.09452, allocations: 101 kB / 442.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.09458, allocations: 4 kB / 442.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.09462, allocations: 4 kB / 442.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.292e-05/0.09464, allocations: 4 kB / 442.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.661e-05/0.09466, allocations: 0 / 442.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-06/0.09467, allocations: 0 / 442.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.09484, allocations: 107.9 kB / 442.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-06/0.09485, allocations: 3.984 kB / 442.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.09487, allocations: 4 kB / 442.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.09501, allocations: 83.81 kB / 443 MB, free: 5.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09502, allocations: 0 / 443 MB, free: 5.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09503, allocations: 0 / 443 MB, free: 5.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.09504, allocations: 0 / 443 MB, free: 5.082 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.0002035/0.09524, allocations: 365.3 kB / 443.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.09528, allocations: 11.89 kB / 443.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.09532, allocations: 4.844 kB / 443.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.47e-05/0.09537, allocations: 168.3 kB / 443.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.09538, allocations: 384 / 443.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.09539, allocations: 4.375 kB / 443.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.071e-05/0.09546, allocations: 30.2 kB / 443.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.09547, allocations: 192 / 443.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.09548, allocations: 7.938 kB / 443.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.09549, allocations: 4 kB / 443.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.412e-05/0.09551, allocations: 7.938 kB / 443.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.869e-05/0.09561, allocations: 145.7 kB / 443.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.85e-05/0.09565, allocations: 22.55 kB / 443.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.076e-05/0.09567, allocations: 4.859 kB / 443.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.09568, allocations: 0 / 443.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.09571, allocations: 60.27 kB / 443.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.09571, allocations: 8.062 kB / 443.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.09583, allocations: 63.33 kB / 443.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.09587, allocations: 81.11 kB / 444 MB, free: 3.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.693e-05/0.09589, allocations: 89.86 kB / 444.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-06/0.0959, allocations: 29.64 kB / 444.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-06/0.09591, allocations: 80.14 kB / 444.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.09593, allocations: 0 / 444.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.09596, allocations: 17.72 kB / 444.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.725e-05/0.096, allocations: 315 kB / 444.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.09601, allocations: 0 / 444.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.09602, allocations: 0 / 444.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.09605, allocations: 64.25 kB / 444.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.09606, allocations: 0 / 444.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.089e-05/0.09611, allocations: 63.41 kB / 444.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.09614, allocations: 30.8 kB / 444.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.09615, allocations: 0 / 444.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.09617, allocations: 8.031 kB / 444.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-06/0.09618, allocations: 11.92 kB / 444.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.09618, allocations: 0 / 444.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.0962, allocations: 3.938 kB / 444.7 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.09621, allocations: 0 / 444.7 MB, free: 3.141 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 4.714e-05/0.09626, allocations: 140.6 kB / 444.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.09628, allocations: 0 / 444.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.025e-06/0.09629, allocations: 7.062 kB / 444.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.0963, allocations: 0 / 444.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.0963, allocations: 0 / 444.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.09631, allocations: 7.984 kB / 444.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.17e-05/0.09637, allocations: 149.7 kB / 445 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.09637, allocations: 4 kB / 445 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-06/0.09638, allocations: 0 / 445 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.09638, allocations: 3.938 kB / 445 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.09639, allocations: 3.938 kB / 445 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.0964, allocations: 3.938 kB / 445 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.09641, allocations: 4 kB / 445 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.79e-05/0.09648, allocations: 98.81 kB / 445.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.0965, allocations: 77.11 kB / 445.2 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.09652, allocations: 11.88 kB / 445.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-06/0.09653, allocations: 0 / 445.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-06/0.09654, allocations: 0 / 445.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.09655, allocations: 0 / 445.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.183e-05/0.09657, allocations: 75.28 kB / 445.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09657, allocations: 0 / 445.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.09679, allocations: 31.98 kB / 445.3 MB, free: 2.426 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.0004036/0.0972, allocations: 267.7 kB / 445.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.248e-05/0.09728, allocations: 55.41 kB / 445.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.09729, allocations: 0 / 445.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.712e-05/0.09731, allocations: 55.41 kB / 445.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.09743, allocations: 4 kB / 445.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001411/0.09758, allocations: 81.19 kB / 445.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.179e-05/0.09768, allocations: 0.6728 MB / 446.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.278e-06/0.09769, allocations: 0 / 446.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.406e-06/0.09771, allocations: 11.44 kB / 446.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09771, allocations: 0 / 446.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of Templates: time 0.002944/0.1007, allocations: 0.9803 MB / 447.4 MB, free: 288 kB / 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestStreams/TestStreams.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches