Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008291/0.008291, allocations: 1.795 MB / 21.35 MB, free: 3.191 MB / 18.57 MB " [Timeout remaining time 180] 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.0008088/0.0008088, allocations: 90.02 kB / 25.16 MB, free: 7.418 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.001578/0.001578, allocations: 170.8 kB / 29.06 MB, free: 3.637 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.9942/0.9942, allocations: 177.1 MB / 210 MB, free: 3.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6311/0.6311, allocations: 102.5 MB / 369.5 MB, free: 396 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.kappaA|GasFanAdvanced.kappaB|Time|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") translateModel(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.kappaA|GasFanAdvanced.kappaB|Time|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 469.9 MB, free: 19.01 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.362e-05, allocations: 3.016 kB / 470 MB, free: 19 MB / 410.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity): time 0.116/0.116, allocations: 58 MB / 0.5156 GB, free: 13.98 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02027/0.1363, allocations: 18.94 MB / 0.5341 GB, free: 10.98 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.1373, allocations: 27.88 kB / 0.5341 GB, free: 10.96 MB / 458.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.002172/0.1395, allocations: 0.8505 MB / 0.5349 GB, free: 10.11 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.1414, allocations: 0.8269 MB / 0.5357 GB, free: 9.273 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006856/0.1482, allocations: 2.796 MB / 0.5385 GB, free: 6.465 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.003331/0.1516, allocations: 2.26 MB / 0.5407 GB, free: 4.199 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002414/0.154, allocations: 1.978 MB / 0.5426 GB, free: 2.164 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1435/0.2975, allocations: 54.36 MB / 0.5957 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.2997, allocations: 1.754 MB / 0.5974 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.3009, allocations: 496 kB / 0.5979 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007108/0.308, allocations: 3.258 MB / 0.6011 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00315/0.3111, allocations: 2.237 MB / 0.6032 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003305/0.3144, allocations: 1.641 MB / 0.6048 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.3277, allocations: 7.886 MB / 0.6125 GB, free: 11.58 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3277, allocations: 4 kB / 0.6126 GB, free: 11.57 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.215e-06/0.3277, allocations: 3.938 kB / 0.6126 GB, free: 11.57 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0002035/0.3279, allocations: 0 / 0.6126 GB, free: 11.57 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 411 * Number of variables: 411 Notification: Performance of Generate backend data structure: time 0.009068/0.337, allocations: 6.475 MB / 0.6189 GB, free: 5.016 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.3371, allocations: 8.031 kB / 0.6189 GB, free: 5.008 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.3381, allocations: 0.6149 MB / 0.6195 GB, free: 4.391 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006425/0.3445, allocations: 4.305 MB / 0.6237 GB, free: 15.98 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.3447, allocations: 146.4 kB / 0.6238 GB, free: 15.82 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004104/0.3451, allocations: 216.3 kB / 0.624 GB, free: 15.61 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007665/0.3528, allocations: 9.252 MB / 0.6331 GB, free: 4.191 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.3528, allocations: 11.94 kB / 0.6331 GB, free: 4.18 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.3531, allocations: 84 kB / 0.6332 GB, free: 4.098 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.3532, allocations: 182.9 kB / 0.6333 GB, free: 3.918 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005965/0.3592, allocations: 3.577 MB / 0.6368 GB, free: 340 kB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.3726, allocations: 9.801 MB / 0.6464 GB, free: 6.348 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.3754, allocations: 1.414 MB / 0.6478 GB, free: 4.906 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.3757, allocations: 198.3 kB / 0.648 GB, free: 4.707 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.3758, allocations: 116.9 kB / 0.6481 GB, free: 4.594 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.255e-05/0.3759, allocations: 71.39 kB / 0.6482 GB, free: 4.516 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=92): time 3.226e-06/0.3759, allocations: 0 / 0.6482 GB, free: 4.516 MB / 0.5574 GB Notification: Performance of matching and sorting (n=93): time 0.007819/0.3837, allocations: 3.852 MB / 0.6519 GB, free: 0.6094 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2437/0.6274, allocations: 2.637 MB / 0.6545 GB, free: 122 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006383/0.6338, allocations: 4.815 MB / 0.6592 GB, free: 121.6 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003203/0.6341, allocations: 58.92 kB / 0.6592 GB, free: 121.6 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.6355, allocations: 2.332 MB / 0.6615 GB, free: 121.4 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.6358, allocations: 351.9 kB / 0.6619 GB, free: 121.4 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007169/0.6365, allocations: 0.593 MB / 0.6624 GB, free: 121.4 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.6366, allocations: 482.5 kB / 0.6629 GB, free: 120.9 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.6371, allocations: 275.7 kB / 0.6632 GB, free: 120.9 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.6388, allocations: 4.551 MB / 0.6676 GB, free: 115.6 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.6401, allocations: 1.492 MB / 0.6691 GB, free: 114.5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.6401, allocations: 6.031 kB / 0.6691 GB, free: 114.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.00292/0.643, allocations: 1.792 MB / 0.6708 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.643, allocations: 17.38 kB / 0.6708 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.643, allocations: 21.97 kB / 0.6709 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/0.6431, allocations: 30.52 kB / 0.6709 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.6441, allocations: 0.5041 MB / 0.6714 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.916e-05/0.6442, allocations: 40.77 kB / 0.6714 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.6459, allocations: 152.3 kB / 0.6716 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.6461, allocations: 197.8 kB / 0.6718 GB, free: 114.4 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * 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 (238): * Single equations (assignments): 238 * 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 0.000842/0.647, allocations: 329.1 kB / 0.6721 GB, free: 114.2 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006526/0.6476, allocations: 490.4 kB / 0.6725 GB, free: 113.9 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.6498, allocations: 1.341 MB / 0.6738 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.6498, allocations: 9.5 kB / 0.6739 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.6498, allocations: 0 / 0.6739 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.6499, allocations: 4.594 kB / 0.6739 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006421/0.6563, allocations: 4.171 MB / 0.6779 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.6563, allocations: 2.203 kB / 0.6779 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.6568, allocations: 200.5 kB / 0.6781 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/0.6568, allocations: 9.984 kB / 0.6781 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.6568, allocations: 34.48 kB / 0.6782 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.6569, allocations: 2.625 kB / 0.6782 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6569, allocations: 2.625 kB / 0.6782 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.6595, allocations: 1.357 MB / 0.6795 GB, free: 112.9 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.6607, allocations: 0.8483 MB / 0.6803 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004928/0.6612, allocations: 37.23 kB / 0.6804 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008348/0.6621, allocations: 88.2 kB / 0.6804 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.6622, allocations: 81.89 kB / 0.6805 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.152e-05/0.6623, allocations: 85.92 kB / 0.6806 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.004153/0.6665, allocations: 2.787 MB / 0.6833 GB, free: 112 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6665, allocations: 0 / 0.6833 GB, free: 112 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.003376/0.6698, allocations: 0.8763 MB / 0.6842 GB, free: 111.9 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (GasFanAdvanced.kappaA,GasFanAdvanced.kappaB,speed1.phi) * 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 (88): * Single equations (assignments): 88 * 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 0.002452/0.6723, allocations: 0.8965 MB / 0.6851 GB, free: 111.8 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.00277/0.6751, allocations: 0.9218 MB / 0.686 GB, free: 111.6 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-05/0.6751, allocations: 7.281 kB / 0.686 GB, free: 111.6 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.6757, allocations: 301.9 kB / 0.6863 GB, free: 111.6 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/0.6799, allocations: 0.5801 MB / 0.6868 GB, free: 111.3 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.6907, allocations: 5.738 MB / 0.6924 GB, free: 108.4 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008539/0.6916, allocations: 0.8579 MB / 0.6933 GB, free: 108.1 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.002763/0.6944, allocations: 0.9918 MB / 0.6942 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009132/0.6953, allocations: 368.9 kB / 0.6946 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of SimCode: time 2.945e-06/0.6953, allocations: 0 / 0.6946 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of Templates: time 0.06374/0.759, allocations: 55.18 MB / 0.7485 GB, free: 69.34 MB / 0.5574 GB " [Timeout remaining time 799] make -j1 -f ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; mkfifo ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe >> ../files/ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.sim & ./ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 5.932415772229433]