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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 168.6 kB / 24.84 MB, free: 9.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1402/0.1402, allocations: 32.38 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 348.9 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.274e-05, allocations: 2.312 kB / 348.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001133/0.001156, allocations: 0.4965 MB / 349.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005235/0.001679, allocations: 303 kB / 349.7 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.001702, allocations: 4 kB / 349.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.001717, allocations: 0 / 349.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.572e-06/0.001723, allocations: 0 / 349.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.002426, allocations: 101.1 kB / 349.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.002486, allocations: 7.984 kB / 349.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.002523, allocations: 4 kB / 349.8 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.002549, allocations: 0 / 349.8 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.891e-05/0.002568, allocations: 0 / 349.8 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.735e-06/0.002576, allocations: 0 / 349.8 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.002742, allocations: 111.8 kB / 349.9 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-06/0.00275, allocations: 0 / 349.9 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.002768, allocations: 7.938 kB / 349.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.002939, allocations: 107.7 kB / 350 MB, free: 8.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.002942, allocations: 4 kB / 350 MB, free: 8.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.002942, allocations: 0 / 350 MB, free: 8.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.002947, allocations: 0 / 350 MB, free: 8.078 MB / 282.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.0002276/0.003175, allocations: 385.9 kB / 350.4 MB, free: 7.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.003206, allocations: 8.031 kB / 350.4 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.003234, allocations: 4.938 kB / 350.4 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.328e-05/0.003277, allocations: 112.6 kB / 350.5 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.003288, allocations: 384 / 350.5 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-06/0.003293, allocations: 384 / 350.5 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.788e-05/0.003351, allocations: 59.97 kB / 350.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.003358, allocations: 4.125 kB / 350.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.003364, allocations: 384 / 350.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.003368, allocations: 384 / 350.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.273e-05/0.003381, allocations: 37.56 kB / 350.6 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.335e-05/0.003444, allocations: 97.27 kB / 350.7 MB, free: 7.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.323e-05/0.003478, allocations: 52.8 kB / 350.8 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-06/0.003488, allocations: 33.39 kB / 350.8 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-06/0.003491, allocations: 0 / 350.8 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.003514, allocations: 67.09 kB / 350.9 MB, free: 7.074 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.7e-07/0.003514, allocations: 4.062 kB / 350.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.003642, allocations: 118.7 kB / 351 MB, free: 6.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.003665, allocations: 77.11 kB / 351.1 MB, free: 6.836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.113e-05/0.003686, allocations: 142.2 kB / 351.2 MB, free: 6.684 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-06/0.00369, allocations: 25.7 kB / 351.2 MB, free: 6.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.298e-06/0.0037, allocations: 126.9 kB / 351.3 MB, free: 6.523 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.003714, allocations: 3.984 kB / 351.3 MB, free: 6.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.003734, allocations: 23.36 kB / 351.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.98e-05/0.003774, allocations: 496.1 kB / 351.9 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.003786, allocations: 33.83 kB / 351.9 MB, free: 5.953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-06/0.003794, allocations: 29.7 kB / 351.9 MB, free: 5.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.003824, allocations: 63.09 kB / 352 MB, free: 5.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.003826, allocations: 0 / 352 MB, free: 5.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.275e-05/0.003868, allocations: 97.02 kB / 352.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.003889, allocations: 29.7 kB / 352.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.003893, allocations: 0 / 352.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.003901, allocations: 0 / 352.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.003902, allocations: 0 / 352.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.003904, allocations: 0 / 352.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.039e-05/0.003914, allocations: 8.438 kB / 352.1 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.00392, allocations: 0 / 352.1 MB, free: 5.684 MB / 282.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 4.057e-05/0.00396, allocations: 190.2 kB / 352.3 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-06/0.003965, allocations: 0 / 352.3 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-06/0.003973, allocations: 3 kB / 352.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.003974, allocations: 0 / 352.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.003976, allocations: 0 / 352.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.003978, allocations: 0 / 352.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.694e-05/0.004015, allocations: 109.1 kB / 352.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004016, allocations: 0 / 352.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-07/0.004016, allocations: 4 kB / 352.4 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-07/0.004017, allocations: 0 / 352.4 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.004021, allocations: 0 / 352.4 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.004022, allocations: 7.984 kB / 352.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.004023, allocations: 0 / 352.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.609e-05/0.004079, allocations: 131.7 kB / 352.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-06/0.004084, allocations: 7.984 kB / 352.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.004092, allocations: 0 / 352.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-06/0.004097, allocations: 4 kB / 352.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-06/0.004106, allocations: 0 / 352.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.004108, allocations: 4 kB / 352.6 MB, free: 5.152 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.181e-05/0.00412, allocations: 123.2 kB / 352.7 MB, free: 5.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00412, allocations: 0 / 352.7 MB, free: 5.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.004284, allocations: 27.94 kB / 352.7 MB, free: 5.004 MB / 282.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.0004486/0.004733, allocations: 312.3 kB / 353 MB, free: 4.766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.666e-05/0.004809, allocations: 122.4 kB / 353.1 MB, free: 4.617 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.004811, allocations: 4.062 kB / 353.1 MB, free: 4.613 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/0.004827, allocations: 88.8 kB / 353.2 MB, free: 4.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.751e-05/0.004914, allocations: 7.938 kB / 353.2 MB, free: 4.496 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001202/0.005034, allocations: 109.6 kB / 353.3 MB, free: 4.352 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.353e-05/0.005048, allocations: 55.36 kB / 353.4 MB, free: 4.277 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.979e-06/0.005053, allocations: 0 / 353.4 MB, free: 4.277 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.005079, allocations: 78.14 kB / 353.5 MB, free: 4.199 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.00508, allocations: 0 / 353.5 MB, free: 4.199 MB / 282.7 MB Notification: Performance of Templates: time 0.002492/0.007572, allocations: 1.158 MB / 354.6 MB, free: 3.047 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.144217669032514]