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.001552/0.001552, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.001646/0.001646, allocations: 195 kB / 17.98 MB, free: 5.016 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.631/1.631, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2295/0.2295, allocations: 43.52 MB / 314.7 MB, free: 488 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.001759/0.001759, allocations: 68.88 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.127, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001565/0.1286, allocations: 493.1 kB / 442.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006022/0.1292, allocations: 287.8 kB / 442.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.1293, allocations: 0 / 442.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.1293, allocations: 0 / 442.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.1293, allocations: 0 / 442.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.1301, allocations: 103.3 kB / 442.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.315e-05/0.1302, allocations: 11.98 kB / 442.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.108e-05/0.1302, allocations: 8 kB / 442.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.559e-05/0.1302, allocations: 0 / 442.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.178e-05/0.1302, allocations: 0 / 442.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.342e-06/0.1303, allocations: 3.938 kB / 442.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1304, allocations: 103.9 kB / 442.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.1304, allocations: 0 / 442.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.1305, allocations: 8 kB / 443 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1306, allocations: 83.86 kB / 443 MB, free: 5.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1306, allocations: 0 / 443 MB, free: 5.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1306, allocations: 3.938 kB / 443 MB, free: 5.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1306, allocations: 0 / 443 MB, free: 5.09 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.0002783/0.1309, allocations: 373.2 kB / 443.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.131, allocations: 11.89 kB / 443.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.131, allocations: 4.844 kB / 443.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.402e-05/0.1311, allocations: 160.4 kB / 443.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1311, allocations: 4.375 kB / 443.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.1311, allocations: 384 / 443.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.006e-05/0.1312, allocations: 26.27 kB / 443.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1312, allocations: 4.172 kB / 443.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1312, allocations: 7.938 kB / 443.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1312, allocations: 4 kB / 443.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.1312, allocations: 3.984 kB / 443.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.706e-05/0.1313, allocations: 145.7 kB / 443.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.769e-05/0.1313, allocations: 22.55 kB / 443.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.222e-05/0.1314, allocations: 4.859 kB / 443.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.1314, allocations: 0 / 443.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1314, allocations: 60.27 kB / 443.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1314, allocations: 4.062 kB / 443.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001438/0.1316, allocations: 71.27 kB / 443.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1316, allocations: 81.11 kB / 444 MB, free: 3.914 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.016e-05/0.1316, allocations: 89.86 kB / 444.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.1316, allocations: 25.7 kB / 444.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.051e-05/0.1317, allocations: 80.14 kB / 444.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.1317, allocations: 0 / 444.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.1317, allocations: 13.84 kB / 444.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.1318, allocations: 322.8 kB / 444.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.1318, allocations: 4 kB / 444.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-06/0.1318, allocations: 0 / 444.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.1318, allocations: 60.27 kB / 444.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1318, allocations: 0 / 444.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.004e-05/0.1319, allocations: 63.34 kB / 444.7 MB, free: 3.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1319, allocations: 34.78 kB / 444.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1319, allocations: 96 / 444.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1319, allocations: 11.94 kB / 444.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.1319, allocations: 0 / 444.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1319, allocations: 3.938 kB / 444.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.132, allocations: 3.938 kB / 444.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.132, allocations: 0 / 444.7 MB, free: 3.148 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.585e-05/0.132, allocations: 143.5 kB / 444.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.132, allocations: 0 / 444.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-06/0.132, allocations: 7.062 kB / 444.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1321, allocations: 7.984 kB / 444.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1321, allocations: 0 / 444.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1321, allocations: 0 / 444.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.815e-05/0.1321, allocations: 145.7 kB / 445 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1321, allocations: 4 kB / 445 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1321, allocations: 0 / 445 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-06/0.1321, allocations: 0 / 445 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1321, allocations: 3.938 kB / 445 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.1322, allocations: 0 / 445 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1322, allocations: 4 kB / 445 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.466e-05/0.1322, allocations: 94.77 kB / 445.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.1322, allocations: 77.11 kB / 445.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.1323, allocations: 11.92 kB / 445.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-06/0.1323, allocations: 0 / 445.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.1323, allocations: 0 / 445.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1323, allocations: 0 / 445.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.07e-05/0.1323, allocations: 75.28 kB / 445.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1323, allocations: 0 / 445.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1326, allocations: 36.03 kB / 445.3 MB, free: 2.441 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.0004426/0.133, allocations: 271 kB / 445.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.453e-05/0.1331, allocations: 55.41 kB / 445.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1331, allocations: 0 / 445.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.031e-05/0.1331, allocations: 59.39 kB / 445.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.1333, allocations: 8.062 kB / 445.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001379/0.1334, allocations: 77.08 kB / 445.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.1335, allocations: 0.669 MB / 446.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.342e-06/0.1336, allocations: 4 kB / 446.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-06/0.1336, allocations: 7.438 kB / 446.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.1336, allocations: 3.938 kB / 446.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of Templates: time 0.00322/0.1368, allocations: 0.9726 MB / 447.4 MB, free: 304 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 cvode -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