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.01038/0.01038, allocations: 1.757 MB / 20.6 MB, free: 0.8828 MB / 14.72 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.001291/0.001291, allocations: 99.84 kB / 24.18 MB, free: 2.184 MB / 14.72 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.001576/0.001576, allocations: 215.5 kB / 27.9 MB, free: 3.504 MB / 19.63 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 1.569/1.569, allocations: 230.6 MB / 262.1 MB, free: 5.844 MB / 206.1 MB " [Timeout remaining time 178] 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 1.089/1.089, allocations: 130.8 MB / 449.7 MB, free: 6.414 MB / 350.1 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.3.1 (/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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06861/0.06861, allocations: 20.99 MB / 0.6358 GB, free: 4.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.24, allocations: 81.92 MB / 0.7158 GB, free: 2.719 MB / 0.5294 GB 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.5019/0.7419, allocations: 46.47 MB / 0.7612 GB, free: 19.66 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02994/0.7718, allocations: 20.16 MB / 0.7809 GB, free: 5.855 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004444/0.7763, allocations: 69.19 kB / 0.781 GB, free: 5.836 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005195/0.7815, allocations: 1.525 MB / 0.7824 GB, free: 5.109 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.7872, allocations: 1.323 MB / 0.7837 GB, free: 4.297 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.01228/0.7995, allocations: 3.95 MB / 0.7876 GB, free: 2.141 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.009294/0.8088, allocations: 5.424 MB / 0.7929 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/0.8223, allocations: 5.218 MB / 0.798 GB, free: 11.35 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.8333, allocations: 3.677 MB / 0.8016 GB, free: 9.238 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01253/0.8458, allocations: 4.925 MB / 0.8064 GB, free: 5.43 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.005991/0.8518, allocations: 1.383 MB / 0.8077 GB, free: 4.047 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0138/0.8656, allocations: 4.351 MB / 0.812 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.009416/0.875, allocations: 6.271 MB / 0.8181 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01249/0.8875, allocations: 5.503 MB / 0.8235 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03928/0.9268, allocations: 24.7 MB / 0.8476 GB, free: 11.11 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.9268, allocations: 0 / 0.8476 GB, free: 11.11 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9268, allocations: 0 / 0.8476 GB, free: 11.11 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005592/0.9274, allocations: 0 / 0.8476 GB, free: 11.11 MB / 0.6232 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.04497/0.9723, allocations: 15.65 MB / 0.8629 GB, free: 11.5 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.9724, allocations: 8.031 kB / 0.8629 GB, free: 11.49 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003359/0.9757, allocations: 0.6715 MB / 0.8635 GB, free: 10.8 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008253/0.984, allocations: 1.465 MB / 0.865 GB, free: 9.332 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05323/1.037, allocations: 18.72 MB / 0.8833 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006219/1.038, allocations: 425 kB / 0.8837 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002245/1.04, allocations: 324 kB / 0.884 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04795/1.088, allocations: 32.23 MB / 0.9155 GB, free: 15.8 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/1.088, allocations: 3.938 kB / 0.9155 GB, free: 15.8 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001922/1.09, allocations: 255.9 kB / 0.9157 GB, free: 15.55 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006759/1.091, allocations: 0.508 MB / 0.9162 GB, free: 15.04 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05699/1.148, allocations: 31.05 MB / 0.9465 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07616/1.224, allocations: 28.94 MB / 0.9748 GB, free: 2.777 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01439/1.238, allocations: 3.955 MB / 0.9786 GB, free: 14.82 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/1.241, allocations: 0.9728 MB / 0.9796 GB, free: 13.84 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008395/1.242, allocations: 225.7 kB / 0.9798 GB, free: 13.61 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.849e-05/1.242, allocations: 64.67 kB / 0.9799 GB, free: 13.54 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=273): time 6.152e-06/1.242, allocations: 0 / 0.9799 GB, free: 13.54 MB / 0.7638 GB Notification: Performance of matching and sorting (n=273): time 0.02714/1.269, allocations: 5.738 MB / 0.9855 GB, free: 7.746 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000325/1.269, allocations: 0.489 MB / 0.986 GB, free: 7.145 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03248/1.302, allocations: 13.04 MB / 0.9987 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0005565/1.302, allocations: 73.7 kB / 0.9988 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.008064/1.31, allocations: 5.401 MB / 1.004 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001533/1.312, allocations: 0.9957 MB / 1.005 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006149/1.318, allocations: 1.399 MB / 1.006 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.318, allocations: 301.1 kB / 1.007 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005256/1.323, allocations: 2.423 MB / 1.009 GB, free: 15.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007381/1.331, allocations: 4.531 MB / 1.013 GB, free: 10.13 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/1.341, allocations: 5.678 MB / 1.019 GB, free: 3.789 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-05/1.341, allocations: 16 kB / 1.019 GB, free: 3.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=650) (initialization): time 0.01927/1.361, allocations: 7.835 MB / 1.027 GB, free: 11.94 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/1.361, allocations: 28 kB / 1.027 GB, free: 11.91 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/1.361, allocations: 52 kB / 1.027 GB, free: 11.86 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/1.361, allocations: 76 kB / 1.027 GB, free: 11.79 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006101/1.367, allocations: 1.343 MB / 1.028 GB, free: 10.45 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001872/1.367, allocations: 115.6 kB / 1.028 GB, free: 10.34 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008756/1.376, allocations: 0.649 MB / 1.029 GB, free: 9.695 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/1.378, allocations: 0.56 MB / 1.029 GB, free: 9.137 MB / 0.8107 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.008418/1.386, allocations: 3.385 MB / 1.033 GB, free: 5.738 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003645/1.39, allocations: 1.09 MB / 1.034 GB, free: 4.641 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/1.404, allocations: 4.86 MB / 1.039 GB, free: 15.86 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/1.404, allocations: 26.66 kB / 1.039 GB, free: 15.84 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.404, allocations: 3.938 kB / 1.039 GB, free: 15.83 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.769e-05/1.404, allocations: 14.58 kB / 1.039 GB, free: 15.82 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02734/1.431, allocations: 8.938 MB / 1.047 GB, free: 6.773 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.431, allocations: 0 / 1.047 GB, free: 6.773 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002269/1.434, allocations: 0.5853 MB / 1.048 GB, free: 6.188 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.955e-05/1.434, allocations: 12 kB / 1.048 GB, free: 6.176 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004224/1.434, allocations: 134.5 kB / 1.048 GB, free: 6.047 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.607e-05/1.434, allocations: 12 kB / 1.048 GB, free: 6.035 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.434, allocations: 0 / 1.048 GB, free: 6.035 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/1.445, allocations: 4.905 MB / 1.053 GB, free: 1.031 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006116/1.451, allocations: 1.779 MB / 1.055 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0026/1.454, allocations: 48 kB / 1.055 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004267/1.458, allocations: 89.27 kB / 1.055 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006467/1.459, allocations: 245.6 kB / 1.055 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006072/1.46, allocations: 303.9 kB / 1.055 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0214/1.481, allocations: 9.115 MB / 1.064 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/1.481, allocations: 0 / 1.064 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.009621/1.491, allocations: 1.716 MB / 1.066 GB, free: 3.781 MB / 0.8419 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.3599/1.851, allocations: 6.356 MB / 1.072 GB, free: 350.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.861, allocations: 4.35 MB / 1.076 GB, free: 350.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.861, allocations: 4.031 kB / 1.076 GB, free: 350.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003222/1.865, allocations: 1.182 MB / 1.077 GB, free: 350.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007936/1.872, allocations: 1.156 MB / 1.079 GB, free: 349.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1577/2.03, allocations: 74.92 MB / 1.152 GB, free: 294.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01418/2.044, allocations: 5.22 MB / 1.157 GB, free: 289.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.01249/2.057, allocations: 3.218 MB / 1.16 GB, free: 286.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008881/2.066, allocations: 4.751 MB / 1.165 GB, free: 281.9 MB / 0.8419 GB Notification: Performance of SimCode: time 1.563e-06/2.066, allocations: 2.625 kB / 1.165 GB, free: 281.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2528/2.319, allocations: 175 MB / 1.335 GB, free: 108.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.18/33.49, allocations: 0 / 1.335 GB, free: 108.2 MB / 0.8419 GB " [Timeout remaining time 765] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple.mat","/var/lib/jenkins1/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: 39.87338240304962]