Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.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.008528/0.008528, 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.0007186/0.0007186, 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.000865/0.000865, allocations: 165.8 kB / 27.85 MB, free: 5.098 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.8716/0.8716, allocations: 177.2 MB / 208.6 MB, free: 2.965 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.7508/0.7508, 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_simple,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5362 GB, free: 40 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.074e-05, allocations: 5.844 kB / 0.5362 GB, free: 40 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_simple): time 0.1184/0.1184, allocations: 60.05 MB / 0.5948 GB, free: 488 kB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02395/0.1423, allocations: 19.97 MB / 0.6143 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.1453, allocations: 71.69 kB / 0.6144 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004001/0.1493, allocations: 1.534 MB / 0.6159 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00403/0.1533, allocations: 1.37 MB / 0.6172 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.009144/0.1624, allocations: 4.015 MB / 0.6212 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007623/0.1701, allocations: 5.523 MB / 0.6265 GB, free: 15.88 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005932/0.176, allocations: 5.254 MB / 0.6317 GB, free: 10.54 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008587/0.1846, allocations: 5.074 MB / 0.6366 GB, free: 5.461 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005574/0.1902, allocations: 4.645 MB / 0.6412 GB, free: 0.8086 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.00306/0.1932, allocations: 1.383 MB / 0.6425 GB, free: 15.42 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008133/0.2013, allocations: 4.393 MB / 0.6468 GB, free: 11.02 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.006052/0.2074, allocations: 6.389 MB / 0.653 GB, free: 4.621 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.007149/0.2145, allocations: 4.67 MB / 0.6576 GB, free: 15.94 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.02625/0.2408, allocations: 25.51 MB / 0.6825 GB, free: 6.363 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.2408, allocations: 0 / 0.6825 GB, free: 6.363 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2408, allocations: 0 / 0.6825 GB, free: 6.363 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0007002/0.2415, allocations: 4 kB / 0.6825 GB, free: 6.359 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1147 * Number of variables: 1147 Notification: Performance of Generate backend data structure: time 0.03494/0.2765, allocations: 15.52 MB / 0.6977 GB, free: 6.715 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.2765, allocations: 12.03 kB / 0.6977 GB, free: 6.703 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002737/0.2792, allocations: 0.6715 MB / 0.6983 GB, free: 6.02 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/0.2846, allocations: 1.461 MB / 0.6998 GB, free: 4.551 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0339/0.3185, allocations: 18.73 MB / 0.7181 GB, free: 1.676 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003704/0.3189, allocations: 417.4 kB / 0.7185 GB, free: 1.23 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002076/0.321, allocations: 320.4 kB / 0.7188 GB, free: 0.918 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02797/0.349, allocations: 32.24 MB / 0.7502 GB, free: 10.95 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/0.349, allocations: 11.88 kB / 0.7503 GB, free: 10.94 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007071/0.3497, allocations: 248 kB / 0.7505 GB, free: 10.7 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003409/0.3501, allocations: 0.5119 MB / 0.751 GB, free: 10.18 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3564/0.7065, allocations: 31.05 MB / 0.7813 GB, free: 159.5 MB / 0.6512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04757/0.754, allocations: 28.92 MB / 0.8096 GB, free: 142.6 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007466/0.7615, allocations: 3.964 MB / 0.8134 GB, free: 138.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.7627, allocations: 0.9727 MB / 0.8144 GB, free: 137.7 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/0.7631, allocations: 218.9 kB / 0.8146 GB, free: 137.5 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.7631, allocations: 68.61 kB / 0.8147 GB, free: 137.4 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=273): time 6.332e-06/0.7631, allocations: 0 / 0.8147 GB, free: 137.4 MB / 0.6512 GB Notification: Performance of matching and sorting (n=273): time 0.01335/0.7765, allocations: 5.736 MB / 0.8203 GB, free: 132.2 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.7766, allocations: 497.8 kB / 0.8207 GB, free: 131.6 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01704/0.7937, allocations: 13.05 MB / 0.8335 GB, free: 118.9 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005814/0.7942, allocations: 73.7 kB / 0.8336 GB, free: 118.8 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.003806/0.798, allocations: 5.377 MB / 0.8388 GB, free: 113.9 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.7991, allocations: 0.9904 MB / 0.8398 GB, free: 113 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/0.8014, allocations: 1.379 MB / 0.8411 GB, free: 111.6 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.8014, allocations: 304.5 kB / 0.8414 GB, free: 111.3 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/0.804, allocations: 2.421 MB / 0.8438 GB, free: 108.9 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/0.807, allocations: 4.529 MB / 0.8482 GB, free: 103.5 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004923/0.8119, allocations: 5.674 MB / 0.8537 GB, free: 97.18 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.41e-05/0.8119, allocations: 16 kB / 0.8537 GB, free: 97.17 MB / 0.6512 GB Notification: Performance of matching and sorting (n=650) (initialization): time 0.01035/0.8223, allocations: 7.843 MB / 0.8614 GB, free: 89.34 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.8223, allocations: 28 kB / 0.8614 GB, free: 89.32 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.395e-05/0.8224, allocations: 54.66 kB / 0.8615 GB, free: 89.27 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.912e-05/0.8225, allocations: 76 kB / 0.8616 GB, free: 89.19 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/0.8253, allocations: 1.347 MB / 0.8629 GB, free: 87.85 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.8254, allocations: 119.5 kB / 0.863 GB, free: 87.73 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005109/0.8305, allocations: 0.6443 MB / 0.8636 GB, free: 87.24 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008055/0.8313, allocations: 0.5546 MB / 0.8642 GB, free: 86.68 MB / 0.6512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * 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 (650): * Single equations (assignments): 650 * 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.00527/0.8366, allocations: 3.389 MB / 0.8675 GB, free: 83.32 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002367/0.8389, allocations: 1.086 MB / 0.8685 GB, free: 82.22 MB / 0.6512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008104/0.847, allocations: 4.853 MB / 0.8733 GB, free: 77.48 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.8471, allocations: 30.61 kB / 0.8733 GB, free: 77.45 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.8471, allocations: 0 / 0.8733 GB, free: 77.45 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.8471, allocations: 19.89 kB / 0.8733 GB, free: 77.43 MB / 0.6512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/0.8634, allocations: 8.927 MB / 0.882 GB, free: 68.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.8634, allocations: 0 / 0.882 GB, free: 68.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009949/0.8644, allocations: 0.593 MB / 0.8826 GB, free: 67.9 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.1e-05/0.8644, allocations: 12 kB / 0.8826 GB, free: 67.89 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.8645, allocations: 126.6 kB / 0.8827 GB, free: 67.77 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.8645, allocations: 8 kB / 0.8828 GB, free: 67.76 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.8645, allocations: 0 / 0.8828 GB, free: 67.76 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006528/0.8711, allocations: 4.897 MB / 0.8875 GB, free: 62.77 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004731/0.8758, allocations: 1.794 MB / 0.8893 GB, free: 60.98 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002298/0.8781, allocations: 49.97 kB / 0.8893 GB, free: 60.93 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/0.8811, allocations: 95.86 kB / 0.8894 GB, free: 60.85 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/0.8814, allocations: 229.7 kB / 0.8896 GB, free: 60.62 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002413/0.8817, allocations: 307.9 kB / 0.8899 GB, free: 60.32 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.0162/0.8979, allocations: 9.115 MB / 0.8988 GB, free: 51.27 MB / 0.6512 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8979, allocations: 0 / 0.8988 GB, free: 51.27 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.007172/0.905, allocations: 1.718 MB / 0.9005 GB, free: 49.66 MB / 0.6512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (simpleFan.kappaA,simpleFan.kappaB,simpleFan1.kappaA,simpleFan1.kappaB,simpleFan2.kappaA,simpleFan2.kappaB) * 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 (267): * Single equations (assignments): 267 * 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.008925/0.914, allocations: 6.362 MB / 0.9067 GB, free: 43.64 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.00612/0.9201, allocations: 4.351 MB / 0.911 GB, free: 39.29 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.9201, allocations: 2.656 kB / 0.911 GB, free: 39.29 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.9214, allocations: 1.187 MB / 0.9121 GB, free: 38.1 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005128/0.9266, allocations: 1.148 MB / 0.9133 GB, free: 37.02 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1275/1.054, allocations: 74.99 MB / 0.9865 GB, free: 8.332 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007061/1.061, allocations: 5.225 MB / 0.9916 GB, free: 3.098 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.009642/1.071, allocations: 3.212 MB / 0.9947 GB, free: 4 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007771/1.079, allocations: 4.752 MB / 0.9994 GB, free: 11.25 MB / 0.7137 GB Notification: Performance of SimCode: time 2.204e-06/1.079, allocations: 0 / 0.9994 GB, free: 11.25 MB / 0.7137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5068/1.585, allocations: 175.1 MB / 1.17 GB, free: 137.5 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/18.24, allocations: 4 kB / 1.17 GB, free: 137.5 MB / 0.7449 GB " [Timeout remaining time 781] (rm -f ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe ; mkfifo ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe >> ../files/ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_res.mat --tempDir=temp_ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple.fmu > ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.pipe 2>&1) [Timeout 840.0] diffSimulationResults("ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.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: 22.36879947129637]