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.006719/0.006719, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0006598/0.0006598, allocations: 91.45 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.0008361/0.0008361, allocations: 163.6 kB / 27.85 MB, free: 5.496 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.8628/0.8628, allocations: 177.2 MB / 208.6 MB, free: 2.953 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.7649/0.7649, allocations: 102.5 MB / 367.9 MB, free: 1.488 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.964e-06/1.964e-06, allocations: 3.938 kB / 0.5362 GB, free: 40.11 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.656e-05, allocations: 2.281 kB / 0.5362 GB, free: 40.11 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.105/0.1051, allocations: 54.81 MB / 0.5897 GB, free: 5.742 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.1207, allocations: 17.67 MB / 0.607 GB, free: 4.016 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005135/0.1212, allocations: 35.81 kB / 0.607 GB, free: 3.98 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.001644/0.1228, allocations: 0.8509 MB / 0.6078 GB, free: 3.125 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0009506/0.1238, allocations: 0.8115 MB / 0.6086 GB, free: 2.309 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.004616/0.1284, allocations: 2.784 MB / 0.6113 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001721/0.1301, allocations: 2.242 MB / 0.6135 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.1316, allocations: 1.913 MB / 0.6154 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.1332, allocations: 1.942 MB / 0.6173 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/0.1353, allocations: 1.84 MB / 0.6191 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004183/0.1357, allocations: 0.5273 MB / 0.6196 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006346/0.142, allocations: 3.437 MB / 0.623 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001876/0.1439, allocations: 2.381 MB / 0.6253 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.1452, allocations: 1.762 MB / 0.627 GB, free: 15.37 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.009452/0.1546, allocations: 11.11 MB / 0.6379 GB, free: 4.223 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1546, allocations: 4 kB / 0.6379 GB, free: 4.219 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1546, allocations: 0 / 0.6379 GB, free: 4.219 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.238e-05/0.1547, allocations: 3.938 kB / 0.6379 GB, free: 4.215 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.007157/0.1618, allocations: 6.48 MB / 0.6442 GB, free: 13.66 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.1619, allocations: 8.031 kB / 0.6442 GB, free: 13.66 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003036/0.1622, allocations: 264.5 kB / 0.6445 GB, free: 13.39 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.1633, allocations: 0.5913 MB / 0.645 GB, free: 12.79 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008511/0.1718, allocations: 7.418 MB / 0.6523 GB, free: 5.277 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.172, allocations: 150.4 kB / 0.6524 GB, free: 5.117 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.1722, allocations: 120.4 kB / 0.6525 GB, free: 5 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008525/0.1807, allocations: 10.92 MB / 0.6632 GB, free: 8.16 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.1807, allocations: 7.938 kB / 0.6632 GB, free: 8.152 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.1809, allocations: 92 kB / 0.6633 GB, free: 8.062 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.181, allocations: 174.9 kB / 0.6635 GB, free: 7.891 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009834/0.1908, allocations: 10.54 MB / 0.6737 GB, free: 13.34 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.2033, allocations: 10.35 MB / 0.6839 GB, free: 2.812 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.2059, allocations: 1.42 MB / 0.6852 GB, free: 1.367 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.2064, allocations: 344.5 kB / 0.6856 GB, free: 1.023 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.2065, allocations: 108.9 kB / 0.6857 GB, free: 0.918 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.2065, allocations: 43.56 kB / 0.6857 GB, free: 0.8672 MB / 0.573 GB Notification: Performance of pre-optimization done (n=92): time 2.906e-06/0.2065, allocations: 7.938 kB / 0.6857 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of matching and sorting (n=93): time 0.007096/0.2136, allocations: 4.401 MB / 0.69 GB, free: 12.41 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/0.2137, allocations: 214.6 kB / 0.6902 GB, free: 12.16 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004841/0.2186, allocations: 5.139 MB / 0.6952 GB, free: 7.027 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.2186, allocations: 49.7 kB / 0.6953 GB, free: 6.973 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.2197, allocations: 2.002 MB / 0.6972 GB, free: 4.957 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.2199, allocations: 353.1 kB / 0.6976 GB, free: 4.609 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000549/0.2204, allocations: 0.5302 MB / 0.6981 GB, free: 4.07 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.2205, allocations: 305.1 kB / 0.6984 GB, free: 3.77 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.2215, allocations: 0.8822 MB / 0.6993 GB, free: 2.887 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.2231, allocations: 1.669 MB / 0.7009 GB, free: 0.9023 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.2251, allocations: 2.093 MB / 0.7029 GB, free: 14.54 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.2251, allocations: 8 kB / 0.7029 GB, free: 14.53 MB / 0.6043 GB Notification: Performance of matching and sorting (n=244) (initialization): time 0.003139/0.2282, allocations: 2.92 MB / 0.7058 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.2283, allocations: 16 kB / 0.7058 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.2283, allocations: 23.98 kB / 0.7058 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/0.2283, allocations: 31.94 kB / 0.7059 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.2293, allocations: 0.519 MB / 0.7064 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.063e-05/0.2294, allocations: 43.86 kB / 0.7064 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000961/0.2303, allocations: 107.9 kB / 0.7065 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.2305, allocations: 204.2 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.001474/0.232, allocations: 1.332 MB / 0.708 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.2323, allocations: 441 kB / 0.7084 GB, free: 8.887 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.2345, allocations: 1.701 MB / 0.7101 GB, free: 7.156 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.2345, allocations: 8 kB / 0.7101 GB, free: 7.148 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2345, allocations: 4 kB / 0.7101 GB, free: 7.145 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.2345, allocations: 3.984 kB / 0.7101 GB, free: 7.141 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/0.2382, allocations: 3.311 MB / 0.7133 GB, free: 3.777 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2382, allocations: 0 / 0.7133 GB, free: 3.777 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.2386, allocations: 227.7 kB / 0.7136 GB, free: 3.555 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.2386, allocations: 4 kB / 0.7136 GB, free: 3.551 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.2387, allocations: 35.98 kB / 0.7136 GB, free: 3.516 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.2387, allocations: 7.938 kB / 0.7136 GB, free: 3.508 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2387, allocations: 0 / 0.7136 GB, free: 3.508 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.2408, allocations: 1.824 MB / 0.7154 GB, free: 1.664 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000699/0.2415, allocations: 0.6596 MB / 0.716 GB, free: 0.9922 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.2417, allocations: 16 kB / 0.716 GB, free: 0.9766 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.2422, allocations: 55.88 kB / 0.7161 GB, free: 0.9219 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2423, allocations: 76.88 kB / 0.7162 GB, free: 0.8477 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/0.2424, allocations: 87.92 kB / 0.7162 GB, free: 0.7617 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.003114/0.2455, allocations: 3.618 MB / 0.7198 GB, free: 13.16 MB / 0.6199 GB Notification: Performance of sort global known variables: time 9e-08/0.2455, allocations: 0 / 0.7198 GB, free: 13.16 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.001325/0.2468, allocations: 0.6789 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.00356/0.2504, allocations: 3.235 MB / 0.7236 GB, free: 9.32 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.2523, allocations: 1.595 MB / 0.7252 GB, free: 7.727 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2523, allocations: 0 / 0.7252 GB, free: 7.727 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0004984/0.2528, allocations: 426.2 kB / 0.7256 GB, free: 7.309 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.2539, allocations: 448.8 kB / 0.726 GB, free: 6.871 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03261/0.2865, allocations: 28.69 MB / 0.754 GB, free: 9.441 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/0.2882, allocations: 2.003 MB / 0.756 GB, free: 7.41 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.002205/0.2905, allocations: 1.101 MB / 0.757 GB, free: 6.301 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/0.2921, allocations: 1.668 MB / 0.7587 GB, free: 4.633 MB / 0.6512 GB Notification: Performance of SimCode: time 2.274e-06/0.2921, allocations: 0 / 0.7587 GB, free: 4.633 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3687/0.6608, allocations: 72.17 MB / 0.8292 GB, free: 136.4 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.64, allocations: 7.562 kB / 0.8292 GB, free: 136.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity_res.mat --tempDir=temp_ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_affinity_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 15.156974980607629]