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.006135/0.006135, allocations: 1.442 MB / 20.53 MB, free: 4.012 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.0006835/0.0006835, allocations: 87.47 kB / 24.16 MB, free: 396 kB / 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.0007756/0.0007756, allocations: 169 kB / 27.86 MB, free: 5.492 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.8462/0.8462, allocations: 177.2 MB / 208.6 MB, free: 2.961 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.7053/0.7053, allocations: 102.5 MB / 367.9 MB, free: 1.469 MB / 330.8 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_affinity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_affinity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.5362 GB, free: 40.08 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.223e-05, allocations: 3.094 kB / 0.5362 GB, free: 40.08 MB / 490.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.1059/0.1059, allocations: 54.81 MB / 0.5897 GB, free: 5.746 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.121, allocations: 17.67 MB / 0.607 GB, free: 4.016 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005042/0.1215, allocations: 31.81 kB / 0.607 GB, free: 3.984 MB / 0.4949 GB [/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.001613/0.1231, allocations: 0.8432 MB / 0.6078 GB, free: 3.137 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0009328/0.124, allocations: 0.8115 MB / 0.6086 GB, free: 2.32 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.1279, allocations: 2.792 MB / 0.6113 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001516/0.1294, allocations: 2.248 MB / 0.6135 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.1308, allocations: 1.909 MB / 0.6154 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.1321, allocations: 1.938 MB / 0.6173 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.1333, allocations: 1.84 MB / 0.6191 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003908/0.1337, allocations: 0.5351 MB / 0.6196 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004183/0.1379, allocations: 3.429 MB / 0.623 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.1391, allocations: 2.385 MB / 0.6253 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.1402, allocations: 1.762 MB / 0.627 GB, free: 15.37 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.00837/0.1486, allocations: 11.12 MB / 0.6379 GB, free: 4.223 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1486, allocations: 0 / 0.6379 GB, free: 4.223 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1486, allocations: 0 / 0.6379 GB, free: 4.223 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.442e-05/0.1486, allocations: 0 / 0.6379 GB, free: 4.223 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.007322/0.156, allocations: 6.484 MB / 0.6442 GB, free: 13.67 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.156, allocations: 16.03 kB / 0.6442 GB, free: 13.65 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003058/0.1563, allocations: 256.6 kB / 0.6445 GB, free: 13.39 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.1574, allocations: 0.5835 MB / 0.645 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008029/0.1654, allocations: 7.427 MB / 0.6523 GB, free: 5.281 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.1656, allocations: 146.4 kB / 0.6524 GB, free: 5.125 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.1658, allocations: 128.2 kB / 0.6525 GB, free: 5 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0078/0.1736, allocations: 10.92 MB / 0.6632 GB, free: 8.156 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.1736, allocations: 3.938 kB / 0.6632 GB, free: 8.152 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.1738, allocations: 91.98 kB / 0.6633 GB, free: 8.062 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.1739, allocations: 178.9 kB / 0.6635 GB, free: 7.887 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009205/0.1831, allocations: 10.53 MB / 0.6738 GB, free: 13.35 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.1943, allocations: 10.35 MB / 0.6839 GB, free: 2.82 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.1969, allocations: 1.43 MB / 0.6853 GB, free: 1.367 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/0.1973, allocations: 340.5 kB / 0.6856 GB, free: 1.027 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.1975, allocations: 116.9 kB / 0.6857 GB, free: 0.9141 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1975, allocations: 43.56 kB / 0.6857 GB, free: 0.8633 MB / 0.573 GB Notification: Performance of pre-optimization done (n=92): time 2.394e-06/0.1975, allocations: 0 / 0.6857 GB, free: 0.8633 MB / 0.573 GB Notification: Performance of matching and sorting (n=93): time 0.0069/0.2044, allocations: 4.393 MB / 0.69 GB, free: 12.43 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.2045, allocations: 226.6 kB / 0.6902 GB, free: 12.16 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/0.2089, allocations: 5.142 MB / 0.6953 GB, free: 7.023 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.2089, allocations: 41.7 kB / 0.6953 GB, free: 6.977 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.2101, allocations: 2.006 MB / 0.6973 GB, free: 4.957 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.2103, allocations: 349.1 kB / 0.6976 GB, free: 4.613 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005588/0.2108, allocations: 0.5302 MB / 0.6981 GB, free: 4.074 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.2109, allocations: 313 kB / 0.6984 GB, free: 3.766 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.2119, allocations: 0.8862 MB / 0.6993 GB, free: 2.879 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.2133, allocations: 1.661 MB / 0.7009 GB, free: 0.9023 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.2154, allocations: 2.096 MB / 0.7029 GB, free: 14.54 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.2154, allocations: 4 kB / 0.7029 GB, free: 14.53 MB / 0.6043 GB Notification: Performance of matching and sorting (n=244) (initialization): time 0.00346/0.2189, allocations: 2.916 MB / 0.7058 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.2189, allocations: 15.98 kB / 0.7058 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.2189, allocations: 20.44 kB / 0.7058 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.241e-05/0.219, allocations: 36 kB / 0.7059 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.22, allocations: 0.5188 MB / 0.7064 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.957e-05/0.2201, allocations: 43.86 kB / 0.7064 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.2211, allocations: 111.9 kB / 0.7065 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/0.2213, allocations: 207.9 kB / 0.7067 GB, free: 10.66 MB / 0.6043 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 (244): * Single equations (assignments): 244 * 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.001689/0.223, allocations: 1.321 MB / 0.708 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.2234, allocations: 441 kB / 0.7084 GB, free: 8.895 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.2256, allocations: 1.705 MB / 0.7101 GB, free: 7.16 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.2256, allocations: 12 kB / 0.7101 GB, free: 7.148 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2256, allocations: 0 / 0.7101 GB, free: 7.148 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2256, allocations: 3.984 kB / 0.7101 GB, free: 7.145 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.2293, allocations: 3.315 MB / 0.7133 GB, free: 3.777 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2293, allocations: 8.031 kB / 0.7134 GB, free: 3.77 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.2298, allocations: 223.7 kB / 0.7136 GB, free: 3.551 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.2298, allocations: 4 kB / 0.7136 GB, free: 3.547 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.2298, allocations: 31.98 kB / 0.7136 GB, free: 3.516 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.2298, allocations: 7.938 kB / 0.7136 GB, free: 3.508 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2298, allocations: 0 / 0.7136 GB, free: 3.508 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.2318, allocations: 1.828 MB / 0.7154 GB, free: 1.66 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/0.2325, allocations: 0.6557 MB / 0.716 GB, free: 0.9922 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.2327, allocations: 16 kB / 0.716 GB, free: 0.9766 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.2332, allocations: 51.88 kB / 0.7161 GB, free: 0.9258 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.2333, allocations: 80.88 kB / 0.7162 GB, free: 0.8477 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.2334, allocations: 83.98 kB / 0.7163 GB, free: 0.7656 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.003257/0.2366, allocations: 3.61 MB / 0.7198 GB, free: 13.17 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2366, allocations: 0 / 0.7198 GB, free: 13.17 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.001422/0.238, allocations: 0.6866 MB / 0.7204 GB, free: 12.48 MB / 0.6199 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.003447/0.2415, allocations: 3.227 MB / 0.7236 GB, free: 9.332 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.2436, allocations: 1.6 MB / 0.7252 GB, free: 7.734 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2436, allocations: 384 / 0.7252 GB, free: 7.734 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0005106/0.2441, allocations: 421.5 kB / 0.7256 GB, free: 7.32 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.2452, allocations: 452.8 kB / 0.726 GB, free: 6.875 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03056/0.2758, allocations: 28.7 MB / 0.754 GB, free: 9.441 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.2774, allocations: 1.995 MB / 0.756 GB, free: 7.418 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.001905/0.2793, allocations: 1.109 MB / 0.7571 GB, free: 6.301 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/0.2808, allocations: 1.664 MB / 0.7587 GB, free: 4.637 MB / 0.6512 GB Notification: Performance of SimCode: time 2.294e-06/0.2808, allocations: 0 / 0.7587 GB, free: 4.637 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3345/0.6153, allocations: 72.17 MB / 0.8292 GB, free: 136.6 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.27, allocations: 4.062 kB / 0.8292 GB, free: 136.6 MB / 0.6512 GB " [Timeout remaining time 788] (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 & python3 -m fmpy simulate --output-file ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity_res.csv --start-time 0 --stop-time 15 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_affinity.fmu > ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 840.0] diffSimulationResults("ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable Time in file ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity_res.csv. Warning: Get data of variable Time from file ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity_res.csv failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 14.559901554137468]