Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007385/0.007385, allocations: 171 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009978/0.0009977, allocations: 94.84 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9316/0.9316, allocations: 90.59 MB / 408.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 8 kB / 485.2 MB, free: 2.062 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4876, allocations: 66.27 MB / 0.5386 GB, free: 45.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7307/1.218, allocations: 285.2 MB / 0.8171 GB, free: 153.1 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.219, allocations: 83.95 kB / 0.8172 GB, free: 153.1 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.985/4.203, allocations: 0.7606 GB / 1.578 GB, free: 52.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.905e-06/4.203, allocations: 0 / 1.578 GB, free: 52.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001218/4.204, allocations: 47.23 kB / 1.578 GB, free: 52.45 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.01513/4.219, allocations: 4.506 MB / 1.582 GB, free: 47.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/4.219, allocations: 8.031 kB / 1.582 GB, free: 47.88 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/4.221, allocations: 345.4 kB / 1.583 GB, free: 47.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/4.223, allocations: 0.911 MB / 1.583 GB, free: 46.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/4.223, allocations: 115 kB / 1.584 GB, free: 46.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/4.223, allocations: 163.9 kB / 1.584 GB, free: 46.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/4.227, allocations: 1.616 MB / 1.585 GB, free: 44.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/4.227, allocations: 0 / 1.585 GB, free: 44.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/4.227, allocations: 60 kB / 1.585 GB, free: 44.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/4.227, allocations: 47.98 kB / 1.585 GB, free: 44.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/4.23, allocations: 1.198 MB / 1.587 GB, free: 43.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008167/4.238, allocations: 7.601 MB / 1.594 GB, free: 35.15 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/4.241, allocations: 1.25 MB / 1.595 GB, free: 33.92 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/4.243, allocations: 2.22 MB / 1.597 GB, free: 31.22 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/4.243, allocations: 47.88 kB / 1.597 GB, free: 31.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=141): time 4.208e-06/4.243, allocations: 0 / 1.597 GB, free: 31.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.0152/4.258, allocations: 6.728 MB / 1.604 GB, free: 24 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/4.258, allocations: 68.72 kB / 1.604 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/4.259, allocations: 0.8599 MB / 1.605 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/4.259, allocations: 45.7 kB / 1.605 GB, free: 23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/4.26, allocations: 0.7113 MB / 1.606 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/4.26, allocations: 0.5159 MB / 1.606 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/4.26, allocations: 32 kB / 1.606 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/4.26, allocations: 361.9 kB / 1.607 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/4.261, allocations: 0.5271 MB / 1.607 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/4.262, allocations: 0.8193 MB / 1.608 GB, free: 19.91 MB / 0.5886 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement5.deltaE_system = 0.0 ($START.conductionElement5.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement3.deltaE_system = 0.0 ($START.conductionElement3.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement1.deltaE_system = 0.0 ($START.conductionElement1.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = 0.0 ($START.conductionElement.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/4.264, allocations: 0.9558 MB / 1.609 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/4.264, allocations: 4 kB / 1.609 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003531/4.267, allocations: 1.836 MB / 1.611 GB, free: 17.01 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/4.267, allocations: 8 kB / 1.611 GB, free: 17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/4.267, allocations: 8 kB / 1.611 GB, free: 17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/4.268, allocations: 209.1 kB / 1.611 GB, free: 16.78 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/4.269, allocations: 335.5 kB / 1.611 GB, free: 16.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/4.273, allocations: 8.164 MB / 1.619 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/4.275, allocations: 91.86 kB / 1.619 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002421/4.275, allocations: 83.95 kB / 1.619 GB, free: 7.328 MB / 0.5886 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: conductionElement5.deltaE_system = 0.0 conductionElement3.deltaE_system = 0.0 conductionElement1.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (176): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008134/4.276, allocations: 313.2 kB / 1.62 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/4.276, allocations: 154.1 kB / 1.62 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/4.281, allocations: 2.401 MB / 1.622 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00255/4.284, allocations: 1.405 MB / 1.623 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/4.284, allocations: 7.938 kB / 1.623 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/4.284, allocations: 7.969 kB / 1.623 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006857/4.291, allocations: 3.491 MB / 1.627 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/4.291, allocations: 4 kB / 1.627 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/4.292, allocations: 271.9 kB / 1.627 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006015/4.292, allocations: 192.3 kB / 1.627 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/4.293, allocations: 59.94 kB / 1.627 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006705/4.299, allocations: 8.162 MB / 1.635 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/4.299, allocations: 3.938 kB / 1.635 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005703/4.305, allocations: 2.555 MB / 1.638 GB, free: 3.332 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006993/4.306, allocations: 211.1 kB / 1.638 GB, free: 3.105 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/4.306, allocations: 35.94 kB / 1.638 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008282/4.307, allocations: 75.81 kB / 1.638 GB, free: 2.996 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/4.307, allocations: 133.1 kB / 1.638 GB, free: 2.863 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/4.307, allocations: 71.94 kB / 1.638 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009879/4.308, allocations: 0.6524 MB / 1.639 GB, free: 2.137 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.7e-07/4.308, allocations: 0 / 1.639 GB, free: 2.137 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007002/4.315, allocations: 1.651 MB / 1.641 GB, free: 496 kB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * 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 (129): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3968/4.712, allocations: 2.049 MB / 1.643 GB, free: 70.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004686/4.717, allocations: 2.549 MB / 1.645 GB, free: 68.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/4.717, allocations: 0 / 1.645 GB, free: 68.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002461/4.72, allocations: 1.879 MB / 1.647 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/4.722, allocations: 334.2 kB / 1.647 GB, free: 67.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006374/4.728, allocations: 4.396 MB / 1.652 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/4.729, allocations: 1.338 MB / 1.653 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001933/4.731, allocations: 0.6786 MB / 1.653 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/4.731, allocations: 154.3 kB / 1.654 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/4.731, allocations: 0 / 1.654 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.08152/4.813, allocations: 40.51 MB / 1.693 GB, free: 63.28 MB / 0.6042 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.ConductionElement_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches