Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.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.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor") translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009388/0.0009391, allocations: 172.1 kB / 16.11 MB, free: 5.688 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.146/1.146, allocations: 205 MB / 221.9 MB, free: 9.055 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.0006916/0.0006917, allocations: 89.95 kB / 269.9 MB, free: 8.648 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5879/0.5879, allocations: 90.51 MB / 408.3 MB, free: 3.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002843, allocations: 12 kB / 484.8 MB, free: 7.227 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2255, allocations: 65.81 MB / 0.5378 GB, free: 34.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.03618/0.2617, allocations: 48.67 MB / 0.5853 GB, free: 6.188 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.2731, allocations: 12.4 MB / 0.5974 GB, free: 9.754 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.2734, allocations: 7.938 kB / 0.5974 GB, free: 9.746 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.274, allocations: 230.8 kB / 0.5976 GB, free: 9.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009955/0.275, allocations: 497.3 kB / 0.5981 GB, free: 9.031 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.2764, allocations: 0.646 MB / 0.5987 GB, free: 8.383 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008411/0.2773, allocations: 1.097 MB / 0.5998 GB, free: 7.281 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.2775, allocations: 144.9 kB / 0.5999 GB, free: 7.137 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02306/0.3006, allocations: 11.44 MB / 0.6111 GB, free: 11.61 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.301, allocations: 366.5 kB / 0.6115 GB, free: 11.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.3011, allocations: 28 kB / 0.6115 GB, free: 11.22 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09103/0.3921, allocations: 52.81 MB / 0.6631 GB, free: 5.762 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.3924, allocations: 119.4 kB / 0.6632 GB, free: 5.645 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.3927, allocations: 270.6 kB / 0.6634 GB, free: 5.379 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.3943, allocations: 1.028 MB / 0.6644 GB, free: 4.348 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3943, allocations: 4 kB / 0.6644 GB, free: 4.344 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3943, allocations: 0 / 0.6644 GB, free: 4.344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3943, allocations: 0 / 0.6644 GB, free: 4.344 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001692/0.396, allocations: 0.908 MB / 0.6653 GB, free: 3.387 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.396, allocations: 11.97 kB / 0.6653 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.3962, allocations: 60.28 kB / 0.6654 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.3966, allocations: 387.7 kB / 0.6658 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.845e-05/0.3967, allocations: 88.97 kB / 0.6658 GB, free: 2.797 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-05/0.3968, allocations: 52.03 kB / 0.6659 GB, free: 2.746 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3978, allocations: 0.655 MB / 0.6665 GB, free: 2.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3978, allocations: 4 kB / 0.6665 GB, free: 2.066 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.922e-05/0.3979, allocations: 19.98 kB / 0.6666 GB, free: 2.047 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.3979, allocations: 24.92 kB / 0.6666 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.399, allocations: 0.6714 MB / 0.6672 GB, free: 1.352 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003342/0.4023, allocations: 2.748 MB / 0.6699 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.4039, allocations: 0.7903 MB / 0.6707 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/0.4046, allocations: 414.3 kB / 0.6711 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002185/0.4068, allocations: 2.643 MB / 0.6737 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.4068, allocations: 43.11 kB / 0.6737 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 2.725e-06/0.4068, allocations: 0 / 0.6737 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of matching and sorting (n=67): time 0.004104/0.4109, allocations: 2.382 MB / 0.676 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.411, allocations: 59.97 kB / 0.6761 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.4112, allocations: 305.7 kB / 0.6764 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.4113, allocations: 33.7 kB / 0.6764 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.4114, allocations: 205.3 kB / 0.6766 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.4116, allocations: 228.7 kB / 0.6768 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.4116, allocations: 8 kB / 0.6768 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4117, allocations: 366.7 kB / 0.6772 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.4123, allocations: 305 kB / 0.6775 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.4128, allocations: 362 kB / 0.6778 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.4139, allocations: 0.6898 MB / 0.6785 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4139, allocations: 0 / 0.6785 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001553/0.4155, allocations: 0.9206 MB / 0.6794 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4155, allocations: 4 kB / 0.6794 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.4155, allocations: 4 kB / 0.6794 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.4159, allocations: 132.1 kB / 0.6795 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.4164, allocations: 115.9 kB / 0.6796 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.4188, allocations: 2.252 MB / 0.6818 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.4191, allocations: 31.95 kB / 0.6819 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.4192, allocations: 27.97 kB / 0.6819 GB, free: 1.223 MB / 0.4948 GB 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.4194, allocations: 185.7 kB / 0.6821 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4195, allocations: 55.38 kB / 0.6821 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1751/0.5946, allocations: 1.068 MB / 0.6832 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.792e-05/0.5947, allocations: 6.281 kB / 0.6832 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/0.5947, allocations: 4.156 kB / 0.6832 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.5951, allocations: 201.1 kB / 0.6834 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.5952, allocations: 17.81 kB / 0.6834 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.5956, allocations: 34.45 kB / 0.6834 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5957, allocations: 59.62 kB / 0.6835 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002302/0.598, allocations: 1.08 MB / 0.6845 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002111/0.6001, allocations: 1.489 MB / 0.686 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006051/0.6008, allocations: 401.6 kB / 0.6864 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000189/0.601, allocations: 217.2 kB / 0.6866 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of Backend: time 5.51e-07/0.601, allocations: 0 / 0.6866 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.6031, allocations: 1.139 MB / 0.6877 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of SimCode: time 0.001833/0.6049, allocations: 1.97 MB / 0.6896 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.01759/0.6225, allocations: 14.08 MB / 0.7034 GB, free: 131.9 MB / 0.4948 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches