Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.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.0009681/0.0009681, allocations: 87.56 kB / 20.22 MB, free: 4.207 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.0009796/0.0009796, allocations: 161.7 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9077/0.9077, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6592/0.6592, allocations: 118.6 MB / 379 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|energyFlowSource.E_flow|energyFlowSource.E_flow_out|energyFlowSource1.E_flow|energyFlowSource1.E_flow_out|energyFlowSource2.E_flow|energyFlowSource2.E_flow_out|energyFlowSource3.E_flow|energyFlowSource3.E_flow_out|gain.k|gain.u|gain.y|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y",fileNamePrefix="ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource") translateModel(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|energyFlowSource.E_flow|energyFlowSource.E_flow_out|energyFlowSource1.E_flow|energyFlowSource1.E_flow_out|energyFlowSource2.E_flow|energyFlowSource2.E_flow_out|energyFlowSource3.E_flow|energyFlowSource3.E_flow_out|gain.k|gain.u|gain.y|sine.amplitude|sine.continuous|sine.f|sine.offset|sine.phase|sine.startTime|sine.y",fileNamePrefix="ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 482.9 MB, free: 8.762 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.685e-05, allocations: 6.312 kB / 482.9 MB, free: 8.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource): time 0.002445/0.002462, allocations: 1.606 MB / 484.5 MB, free: 7.648 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007666/0.003229, allocations: 454.5 kB / 484.9 MB, free: 7.352 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.003299, allocations: 1.188 kB / 484.9 MB, free: 7.352 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.00333, allocations: 3.938 kB / 484.9 MB, free: 7.348 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.003402, allocations: 17.5 kB / 484.9 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.003641, allocations: 27.56 kB / 485 MB, free: 7.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.003764, allocations: 47.25 kB / 485 MB, free: 7.297 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.003872, allocations: 13.45 kB / 485 MB, free: 7.289 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.004033, allocations: 40.67 kB / 485.1 MB, free: 7.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.004087, allocations: 9.531 kB / 485.1 MB, free: 7.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.004108, allocations: 3.562 kB / 485.1 MB, free: 7.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.886e-05/0.004157, allocations: 13.05 kB / 485.1 MB, free: 7.262 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.00417, allocations: 8.484 kB / 485.1 MB, free: 7.258 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.004201, allocations: 10.53 kB / 485.1 MB, free: 7.254 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.004335, allocations: 52.34 kB / 485.2 MB, free: 7.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004337, allocations: 1.281 kB / 485.2 MB, free: 7.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004338, allocations: 0 / 485.2 MB, free: 7.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.004342, allocations: 0 / 485.2 MB, free: 7.23 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005275/0.00487, allocations: 385.8 kB / 485.5 MB, free: 22.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.004913, allocations: 13.12 kB / 485.5 MB, free: 22.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.005066, allocations: 17.47 kB / 485.6 MB, free: 22.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.005209, allocations: 127.1 kB / 485.7 MB, free: 22.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.005222, allocations: 2.188 kB / 485.7 MB, free: 22.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.005232, allocations: 1.906 kB / 485.7 MB, free: 22.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.00539, allocations: 91.69 kB / 485.8 MB, free: 22.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.005399, allocations: 192 / 485.8 MB, free: 22.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.005411, allocations: 5.5 kB / 485.8 MB, free: 22.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.005419, allocations: 9 kB / 485.8 MB, free: 22.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.005497, allocations: 29.69 kB / 485.8 MB, free: 22.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.005967, allocations: 0.6551 MB / 486.5 MB, free: 21.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.712e-05/0.006044, allocations: 39.09 kB / 486.5 MB, free: 21.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.006081, allocations: 22.78 kB / 486.5 MB, free: 21.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.006097, allocations: 1.281 kB / 486.5 MB, free: 21.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.006117, allocations: 38.67 kB / 486.6 MB, free: 21.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.006118, allocations: 0 / 486.6 MB, free: 21.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002094/0.006328, allocations: 62 kB / 486.6 MB, free: 21.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.00635, allocations: 52.97 kB / 486.7 MB, free: 21.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.006449, allocations: 178.7 kB / 486.9 MB, free: 21.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.006457, allocations: 26.89 kB / 486.9 MB, free: 21.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.006517, allocations: 145 kB / 487 MB, free: 21.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.006535, allocations: 5.453 kB / 487 MB, free: 21.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.006566, allocations: 22.31 kB / 487.1 MB, free: 21.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.006723, allocations: 498.4 kB / 487.5 MB, free: 20.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.006752, allocations: 8.406 kB / 487.6 MB, free: 20.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.006774, allocations: 7.516 kB / 487.6 MB, free: 20.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.356e-05/0.006828, allocations: 25.41 kB / 487.6 MB, free: 20.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.00683, allocations: 3.938 kB / 487.6 MB, free: 20.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.008e-05/0.006921, allocations: 47.94 kB / 487.6 MB, free: 20.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.006938, allocations: 8.641 kB / 487.6 MB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.006943, allocations: 0 / 487.6 MB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.006957, allocations: 0 / 487.6 MB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.007018, allocations: 12.17 kB / 487.7 MB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.007023, allocations: 0 / 487.7 MB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.007046, allocations: 1.531 kB / 487.7 MB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.007052, allocations: 5.312 kB / 487.7 MB, free: 20.75 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.022e-05/0.007133, allocations: 166.5 kB / 487.8 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.007157, allocations: 5.422 kB / 487.8 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.007181, allocations: 6.188 kB / 487.8 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007182, allocations: 0 / 487.8 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.007186, allocations: 0 / 487.8 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.00719, allocations: 1.438 kB / 487.8 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.007326, allocations: 128.7 kB / 488 MB, free: 20.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.007328, allocations: 3.938 kB / 488 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.007354, allocations: 7.812 kB / 488 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.007356, allocations: 5.219 kB / 488 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.007365, allocations: 4 kB / 488 MB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007366, allocations: 0 / 488 MB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007367, allocations: 1.344 kB / 488 MB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.007509, allocations: 198.9 kB / 488.2 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.007518, allocations: 13.61 kB / 488.2 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.00753, allocations: 0 / 488.2 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.007589, allocations: 1.531 kB / 488.2 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.007625, allocations: 4.266 kB / 488.2 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.007628, allocations: 1.219 kB / 488.2 MB, free: 20.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.805e-05/0.007686, allocations: 139.4 kB / 488.3 MB, free: 20.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.007686, allocations: 0 / 488.3 MB, free: 20.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.00796, allocations: 9.688 kB / 488.4 MB, free: 20.09 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.17e-05/0.008041, allocations: 93.12 kB / 488.4 MB, free: 20 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.008155, allocations: 26.5 kB / 488.5 MB, free: 19.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.008157, allocations: 1.656 kB / 488.5 MB, free: 19.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.844e-05/0.008186, allocations: 20.45 kB / 488.5 MB, free: 19.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.008453, allocations: 10.38 kB / 488.5 MB, free: 19.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.008785, allocations: 173.3 kB / 488.7 MB, free: 19.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.067e-05/0.008836, allocations: 67.94 kB / 488.7 MB, free: 19.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.008868, allocations: 10.19 kB / 488.7 MB, free: 19.71 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/0.008869, allocations: 0 / 488.7 MB, free: 19.71 MB / 426.7 MB Notification: Performance of Templates: time 0.001905/0.01077, allocations: 0.6496 MB / 489.4 MB, free: 19.68 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.sim & ./ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource -emit_protected > ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable CPUtime in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.EnergyFlowSource_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.75589334894903]