Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001597/0.001597, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9365/0.9365, allocations: 89.63 MB / 380.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006032/0.0006035, allocations: 12.88 kB / 460 MB, free: 24.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1871, allocations: 68.82 MB / 0.5164 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.5873/0.7745, allocations: 127.4 MB / 0.6409 GB, free: 4.422 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.7785, allocations: 3.054 MB / 0.6439 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.7788, allocations: 7.469 kB / 0.6439 GB, free: 1.961 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006081/0.7794, allocations: 105.3 kB / 0.644 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004998/0.7799, allocations: 170.1 kB / 0.6441 GB, free: 1.738 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.7804, allocations: 144 kB / 0.6443 GB, free: 1.629 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.7808, allocations: 275.2 kB / 0.6445 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.781, allocations: 34.33 kB / 0.6446 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004147/0.7814, allocations: 125.7 kB / 0.6447 GB, free: 1.383 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.7816, allocations: 92.94 kB / 0.6448 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.7816, allocations: 5.75 kB / 0.6448 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.7821, allocations: 227.3 kB / 0.645 GB, free: 1.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.7822, allocations: 16.97 kB / 0.645 GB, free: 1.219 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.7823, allocations: 59.34 kB / 0.6451 GB, free: 1.168 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.7825, allocations: 146 kB / 0.6452 GB, free: 1.078 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.7825, allocations: 0 / 0.6452 GB, free: 1.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.7826, allocations: 0 / 0.6452 GB, free: 1.078 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.7826, allocations: 0 / 0.6452 GB, free: 1.078 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008363/0.7834, allocations: 455.5 kB / 0.6456 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.7835, allocations: 8.188 kB / 0.6456 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.7835, allocations: 22.62 kB / 0.6457 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.7839, allocations: 232.1 kB / 0.6459 GB, free: 380 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.7839, allocations: 8.828 kB / 0.6459 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.7839, allocations: 12.69 kB / 0.6459 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.7842, allocations: 138.7 kB / 0.646 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.7843, allocations: 0 / 0.646 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.7843, allocations: 4 kB / 0.646 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.7843, allocations: 10.88 kB / 0.6461 GB, free: 248 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.7845, allocations: 71.44 kB / 0.6461 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/0.7854, allocations: 0.7121 MB / 0.6468 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.7856, allocations: 80.61 kB / 0.6469 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/0.7857, allocations: 35.64 kB / 0.6469 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.7859, allocations: 163.1 kB / 0.6471 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.7859, allocations: 38.56 kB / 0.6471 GB, free: 15.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.786, allocations: 3.062 kB / 0.6471 GB, free: 15.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007627/0.7867, allocations: 323 kB / 0.6474 GB, free: 14.88 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.7868, allocations: 84.02 kB / 0.6475 GB, free: 14.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.7871, allocations: 220.3 kB / 0.6477 GB, free: 14.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.7871, allocations: 25.7 kB / 0.6477 GB, free: 14.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.7872, allocations: 119.9 kB / 0.6479 GB, free: 14.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.7873, allocations: 30.3 kB / 0.6479 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.7873, allocations: 2.531 kB / 0.6479 GB, free: 14.44 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.7875, allocations: 329.5 kB / 0.6482 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.7875, allocations: 22.69 kB / 0.6482 GB, free: 14.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.7876, allocations: 49.3 kB / 0.6483 GB, free: 14.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.946e-05/0.7876, allocations: 26.69 kB / 0.6483 GB, free: 14.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7876, allocations: 0 / 0.6483 GB, free: 14.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002767/0.7879, allocations: 136.5 kB / 0.6484 GB, free: 13.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.788, allocations: 16.05 kB / 0.6484 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.788, allocations: 4.469 kB / 0.6485 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.7882, allocations: 46.34 kB / 0.6485 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.7883, allocations: 10.84 kB / 0.6485 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.7907, allocations: 2.563 MB / 0.651 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.7908, allocations: 10.91 kB / 0.651 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.7908, allocations: 10.19 kB / 0.651 GB, free: 11.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.791, allocations: 118.5 kB / 0.6511 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.791, allocations: 20.48 kB / 0.6512 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.7914, allocations: 145.6 kB / 0.6513 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7914, allocations: 0 / 0.6513 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7914, allocations: 2.094 kB / 0.6513 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7914, allocations: 0 / 0.6513 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.792, allocations: 0.5068 MB / 0.6518 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.792, allocations: 3.938 kB / 0.6518 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.7921, allocations: 4.094 kB / 0.6518 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.7922, allocations: 41.45 kB / 0.6518 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.7922, allocations: 6.75 kB / 0.6519 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.7942, allocations: 2.559 MB / 0.6543 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.7943, allocations: 4 kB / 0.6544 GB, free: 7.703 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.7947, allocations: 331.3 kB / 0.6547 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.732e-05/0.7948, allocations: 90.33 kB / 0.6548 GB, free: 7.297 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.7948, allocations: 2.906 kB / 0.6548 GB, free: 7.297 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.7949, allocations: 4 kB / 0.6548 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.795, allocations: 12.77 kB / 0.6548 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.795, allocations: 3.25 kB / 0.6548 GB, free: 7.285 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.7952, allocations: 172.2 kB / 0.6549 GB, free: 7.156 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7952, allocations: 0 / 0.6549 GB, free: 7.156 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005701/0.7958, allocations: 39.66 kB / 0.655 GB, free: 7.152 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003169/0.7961, allocations: 165.2 kB / 0.6551 GB, free: 7.027 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.7966, allocations: 285.5 kB / 0.6554 GB, free: 6.766 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7966, allocations: 0 / 0.6554 GB, free: 6.766 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.7969, allocations: 247.5 kB / 0.6556 GB, free: 6.527 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006697/0.7976, allocations: 56.23 kB / 0.6557 GB, free: 6.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009098/0.7985, allocations: 0.5352 MB / 0.6562 GB, free: 6.055 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.7989, allocations: 0.7288 MB / 0.6569 GB, free: 5.332 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.054e-05/0.799, allocations: 17.02 kB / 0.6569 GB, free: 5.32 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.799, allocations: 16.69 kB / 0.657 GB, free: 5.312 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.799, allocations: 0 / 0.657 GB, free: 5.312 MB / 478.1 MB Notification: Performance of Templates: time 0.006806/0.8058, allocations: 2.969 MB / 0.6599 GB, free: 3.82 MB / 478.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches