Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.005243/0.005243, allocations: 0 / 0, free: 0 / 0 " [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.0003354/0.0003354, allocations: 0 / 0, free: 0 / 0 " [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.0004926/0.0004926, allocations: 0 / 0, free: 0 / 0 " [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.4234/0.4234, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.2448/0.2448, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 7.71e-07/7.71e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.735e-05, allocations: 0 / 0, free: 0 / 0 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.1589/0.1589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.06944/0.2283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.004385/0.2327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.009108/0.2418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.007528/0.2494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.02134/0.2707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.01185/0.2826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.01832/0.3009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.01817/0.3191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.01461/0.3337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.004471/0.3381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.02028/0.3584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.01579/0.3742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.02163/0.3958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.07896/0.4748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.007868/0.4827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 6.021e-06/0.4827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.0005511/0.4832, allocations: 0 / 0, free: 0 / 0 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.1129/0.5962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.001661/0.5978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01041/0.6082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02121/0.6294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.09553/0.725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001053/0.726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.004886/0.7309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.1421/0.873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.002069/0.8751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003464/0.8785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002188/0.8807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.199/1.08, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1863/1.266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0634/1.329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.006768/1.336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.003609/1.34, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/1.34, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=273): time 0.002416/1.342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=273): time 0.1217/1.464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005651/1.465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07433/1.539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001535/1.541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.01933/1.56, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.002417/1.562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.01272/1.575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002248/1.575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.01501/1.59, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.01851/1.609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0279/1.637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001594/1.637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=650) (initialization): time 0.05587/1.693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002347/1.693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002262/1.693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/1.693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01417/1.708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004227/1.708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/1.721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003642/1.725, allocations: 0 / 0, free: 0 / 0 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.02053/1.745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007546/1.753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03775/1.79, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-05/1.791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.668e-05/1.791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.003e-05/1.791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07873/1.869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-05/1.869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005745/1.875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 7.176e-05/1.875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001259/1.876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.079e-05/1.877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/1.877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03522/1.912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.01759/1.929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006743/1.936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006961/1.943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003556/1.947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001697/1.948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.05182/2, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.001458/2.002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.01796/2.02, allocations: 0 / 0, free: 0 / 0 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.04208/2.062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0272/2.089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.814e-05/2.089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.008054/2.097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02765/2.125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4482/2.573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03045/2.603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.02099/2.624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03692/2.661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.005955/2.667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.1755/2.843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.1713/3.014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.2695/3.283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 6.745e-05/3.283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 0.001891/3.285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (11 MB unzipped): time 0.003953/3.289, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 796] simulate(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="Time|simpleFan.kappaA|simpleFan.kappaB|simpleFan1.kappaA|simpleFan1.kappaB|simpleFan2.kappaA|simpleFan2.kappaB",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple",simflags=" -alarm=800 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=10 -tolerance=1e-06 -stepSize=0.004 -r=ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_res.mat",resimulateExecutable="ClaRa_dev_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple.fmu") [Timeout 800] "" [Timeout remaining time 800] diffSimulationResults("ClaRa_dev_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_dev_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 simulate(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="Time|simpleFan.kappaA|simpleFan.kappaB|simpleFan1.kappaA|simpleFan1.kappaB|simpleFan2.kappaA|simpleFan2.kappaB",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple",simflags=" -alarm=800 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=10 -tolerance=1e-06 -stepSize=0.004 -r=ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_me_res.mat -s fmi3:me:daskr",resimulateExecutable="ClaRa_dev_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple.fmu") [Timeout 800] "" [Timeout remaining time 799] diffSimulationResults("ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_me_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_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches simulate(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="Time|simpleFan.kappaA|simpleFan.kappaB|simpleFan1.kappaA|simpleFan1.kappaB|simpleFan2.kappaA|simpleFan2.kappaB",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple",simflags=" -alarm=800 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=10 -tolerance=1e-06 -stepSize=0.004 -r=ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_cs_res.mat -s fmi3:cs",resimulateExecutable="ClaRa_dev_ClaRa_Components_TurboMachines_Compressors_Check_Test_CompressorGas_L1_simple.fmu") [Timeout 800] "" [Timeout remaining time 799] diffSimulationResults("ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_cs_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_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_simple_cs.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: 7.411085792933591]