Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 170.5 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000923/0.0009229, allocations: 91.5 kB / 270.8 MB, free: 8.129 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3341/0.3341, allocations: 43.67 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 12 kB / 432.3 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1154, allocations: 58.85 MB / 491.2 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0005594/0.116, allocations: 212.5 kB / 491.4 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007464/0.1167, allocations: 0.512 MB / 491.9 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.076e-05/0.1167, allocations: 3.938 kB / 491.9 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.1168, allocations: 0 / 491.9 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.887e-06/0.1168, allocations: 0 / 491.9 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.1175, allocations: 79.8 kB / 492 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.556e-05/0.1176, allocations: 0 / 492 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.1176, allocations: 3.984 kB / 492 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.562e-05/0.1176, allocations: 0 / 492 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.931e-05/0.1176, allocations: 4 kB / 492 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5e-06/0.1176, allocations: 0 / 492 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1178, allocations: 103.9 kB / 492.1 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-06/0.1178, allocations: 0 / 492.1 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.1179, allocations: 29.64 kB / 492.1 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.118, allocations: 79.88 kB / 492.2 MB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.118, allocations: 0 / 492.2 MB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.118, allocations: 4 kB / 492.2 MB, free: 8.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1181, allocations: 0 / 492.2 MB, free: 8.742 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.0002862/0.1183, allocations: 357.3 kB / 492.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1184, allocations: 15.97 kB / 492.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.1184, allocations: 0.9375 kB / 492.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.1185, allocations: 160.4 kB / 492.7 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1185, allocations: 4.312 kB / 492.7 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.1185, allocations: 4.359 kB / 492.7 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.587e-05/0.1186, allocations: 35.44 kB / 492.7 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1186, allocations: 4.172 kB / 492.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1187, allocations: 3.938 kB / 492.8 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1187, allocations: 0 / 492.8 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.39e-05/0.1187, allocations: 0 / 492.8 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001043/0.1188, allocations: 149.7 kB / 492.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.13e-05/0.1188, allocations: 18.52 kB / 492.9 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.1189, allocations: 8.953 kB / 492.9 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.1189, allocations: 4 kB / 492.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/0.1189, allocations: 64.23 kB / 493 MB, free: 7.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1189, allocations: 0 / 493 MB, free: 7.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.1191, allocations: 71.25 kB / 493.1 MB, free: 7.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1192, allocations: 81.05 kB / 493.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.388e-05/0.1192, allocations: 89.86 kB / 493.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.1192, allocations: 29.64 kB / 493.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.1192, allocations: 80.27 kB / 493.3 MB, free: 7.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.1193, allocations: 8 kB / 493.3 MB, free: 7.352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.1193, allocations: 0 / 493.3 MB, free: 7.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.1194, allocations: 314.8 kB / 493.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-06/0.1194, allocations: 0 / 493.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-06/0.1194, allocations: 0 / 493.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.1194, allocations: 64.27 kB / 493.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1195, allocations: 0 / 493.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.825e-05/0.1195, allocations: 59.5 kB / 493.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.1196, allocations: 37.69 kB / 493.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1196, allocations: 3.938 kB / 493.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1196, allocations: 7.938 kB / 493.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1196, allocations: 0 / 493.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1196, allocations: 0 / 493.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.1196, allocations: 0 / 493.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1196, allocations: 0 / 493.8 MB, free: 6.832 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 7.117e-05/0.1197, allocations: 139.5 kB / 494 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.1197, allocations: 0 / 494 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.082e-05/0.1197, allocations: 11.06 kB / 494 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1197, allocations: 3.938 kB / 494 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1198, allocations: 3.984 kB / 494 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1198, allocations: 0 / 494 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.313e-05/0.1198, allocations: 146 kB / 494.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1199, allocations: 0 / 494.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.1199, allocations: 4 kB / 494.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1199, allocations: 0 / 494.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1199, allocations: 3.938 kB / 494.1 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.1199, allocations: 0 / 494.1 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1199, allocations: 4 kB / 494.1 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.722e-05/0.12, allocations: 94.77 kB / 494.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.12, allocations: 77.11 kB / 494.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.12, allocations: 7.938 kB / 494.3 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.016e-05/0.1201, allocations: 3.984 kB / 494.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.1201, allocations: 0 / 494.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1201, allocations: 0 / 494.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.327e-05/0.1201, allocations: 79.31 kB / 494.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1201, allocations: 0 / 494.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.1204, allocations: 32 kB / 494.4 MB, free: 6.125 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.0004694/0.1208, allocations: 309.2 kB / 494.7 MB, free: 5.879 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.1209, allocations: 59.41 kB / 494.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1209, allocations: 0 / 494.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.121, allocations: 63.41 kB / 494.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.1211, allocations: 11.89 kB / 494.9 MB, free: 5.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001452/0.1213, allocations: 82.64 kB / 494.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.1215, allocations: 0.6692 MB / 495.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.498e-06/0.1215, allocations: 0 / 495.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-06/0.1215, allocations: 11.44 kB / 495.6 MB, free: 4.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1215, allocations: 0 / 495.6 MB, free: 4.91 MB / 378.7 MB Notification: Performance of Templates: time 0.00295/0.1245, allocations: 0.9599 MB / 496.6 MB, free: 3.953 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/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