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.01232/0.01232, allocations: 1.348 MB / 20.45 MB, free: 1.262 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.00161/0.00161, allocations: 76.27 kB / 24.02 MB, free: 2.605 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.001912/0.001912, allocations: 156 kB / 27.71 MB, free: 3.859 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.463/1.463, allocations: 177.1 MB / 208.4 MB, free: 7.676 MB / 190.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.032/1.032, allocations: 102.5 MB / 367.8 MB, free: 4.602 MB / 334.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: translateModel(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.kappaA|GasFanAdvanced.kappaB|Time|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") translateModel(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.kappaA|GasFanAdvanced.kappaB|Time|speed1.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 0.5364 GB, free: 7.141 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.679e-05, allocations: 2.281 kB / 0.5365 GB, free: 7.137 MB / 446.1 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.1664/0.1664, allocations: 54.84 MB / 0.59 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02632/0.1927, allocations: 17.67 MB / 0.6073 GB, free: 1.109 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008915/0.1936, allocations: 31.81 kB / 0.6073 GB, free: 1.078 MB / 0.4982 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.002486/0.1961, allocations: 0.8509 MB / 0.6081 GB, free: 228 kB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.1979, allocations: 0.8116 MB / 0.6089 GB, free: 15.4 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.007156/0.2051, allocations: 2.788 MB / 0.6116 GB, free: 12.6 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.003306/0.2084, allocations: 2.25 MB / 0.6138 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002705/0.2111, allocations: 1.909 MB / 0.6157 GB, free: 8.363 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.2136, allocations: 1.942 MB / 0.6176 GB, free: 6.418 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.2162, allocations: 1.84 MB / 0.6194 GB, free: 4.574 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0008557/0.217, allocations: 0.5312 MB / 0.6199 GB, free: 4.043 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007341/0.2244, allocations: 3.433 MB / 0.6233 GB, free: 0.6016 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.002486/0.2269, allocations: 2.378 MB / 0.6256 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002374/0.2292, allocations: 1.773 MB / 0.6273 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01962/0.2489, allocations: 11.11 MB / 0.6382 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2489, allocations: 0 / 0.6382 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2489, allocations: 4 kB / 0.6382 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002192/0.2491, allocations: 4 kB / 0.6382 GB, free: 1.293 MB / 0.5294 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.0194/0.2685, allocations: 6.484 MB / 0.6445 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.2685, allocations: 8.031 kB / 0.6445 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.2718, allocations: 0.5835 MB / 0.6451 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01818/0.29, allocations: 7.421 MB / 0.6523 GB, free: 2.621 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.2903, allocations: 154.3 kB / 0.6525 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008266/0.2911, allocations: 124.4 kB / 0.6526 GB, free: 2.336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/0.309, allocations: 10.91 MB / 0.6633 GB, free: 5.504 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.078e-05/0.309, allocations: 3.938 kB / 0.6633 GB, free: 5.5 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008227/0.3099, allocations: 95.98 kB / 0.6634 GB, free: 5.406 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003316/0.3102, allocations: 178.9 kB / 0.6635 GB, free: 5.23 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01961/0.3298, allocations: 10.53 MB / 0.6738 GB, free: 10.7 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02583/0.3556, allocations: 10.09 MB / 0.6837 GB, free: 448 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00552/0.3612, allocations: 1.439 MB / 0.6851 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009039/0.3621, allocations: 344.5 kB / 0.6854 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.3623, allocations: 112.8 kB / 0.6855 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.3624, allocations: 39.56 kB / 0.6855 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=92): time 3.576e-06/0.3624, allocations: 0 / 0.6855 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93): time 0.01567/0.3781, allocations: 4.397 MB / 0.6898 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/0.3782, allocations: 222.6 kB / 0.69 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01107/0.3893, allocations: 5.111 MB / 0.695 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002294/0.3895, allocations: 41.7 kB / 0.6951 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002466/0.392, allocations: 2.009 MB / 0.697 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005353/0.3925, allocations: 361.1 kB / 0.6974 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/0.3942, allocations: 0.5184 MB / 0.6979 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3943, allocations: 305.1 kB / 0.6982 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.3963, allocations: 0.8744 MB / 0.699 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3295/0.7258, allocations: 1.648 MB / 0.7006 GB, free: 123 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/0.7298, allocations: 2.076 MB / 0.7027 GB, free: 122.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/0.7298, allocations: 8.469 kB / 0.7027 GB, free: 122.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.006508/0.7363, allocations: 2.891 MB / 0.7055 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.7364, allocations: 13.47 kB / 0.7055 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.715e-05/0.7364, allocations: 20.17 kB / 0.7055 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.42e-05/0.7365, allocations: 32.22 kB / 0.7056 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.7386, allocations: 0.5153 MB / 0.7061 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.654e-05/0.7387, allocations: 41.38 kB / 0.7061 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/0.7412, allocations: 108.2 kB / 0.7062 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004599/0.7417, allocations: 201.2 kB / 0.7064 GB, free: 121.8 MB / 0.5919 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 (238): * Single equations (assignments): 238 * 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.002991/0.7447, allocations: 1.328 MB / 0.7077 GB, free: 121.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009266/0.7456, allocations: 433.7 kB / 0.7081 GB, free: 121.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004223/0.7498, allocations: 1.705 MB / 0.7098 GB, free: 120.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.7499, allocations: 9.172 kB / 0.7098 GB, free: 120.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7499, allocations: 0 / 0.7098 GB, free: 120.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.7499, allocations: 5.641 kB / 0.7098 GB, free: 120.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005788/0.7557, allocations: 3.11 MB / 0.7128 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.7557, allocations: 0.875 kB / 0.7128 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008223/0.7565, allocations: 215.2 kB / 0.713 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.7565, allocations: 7.156 kB / 0.713 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.7566, allocations: 39.56 kB / 0.7131 GB, free: 119.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.7566, allocations: 2.906 kB / 0.7131 GB, free: 119.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7566, allocations: 5.094 kB / 0.7131 GB, free: 119.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003791/0.7604, allocations: 1.823 MB / 0.7149 GB, free: 118.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.7617, allocations: 0.6506 MB / 0.7155 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003867/0.7621, allocations: 19.47 kB / 0.7155 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.7632, allocations: 50.66 kB / 0.7156 GB, free: 118.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.7633, allocations: 81.91 kB / 0.7156 GB, free: 118.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.7635, allocations: 91.86 kB / 0.7157 GB, free: 118.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005045/0.7685, allocations: 3.584 MB / 0.7192 GB, free: 117.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.7685, allocations: 0 / 0.7192 GB, free: 117.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002312/0.7708, allocations: 0.677 MB / 0.7199 GB, free: 117.2 MB / 0.5919 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.002377/0.7732, allocations: 0.9311 MB / 0.7208 GB, free: 117 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003068/0.7763, allocations: 1.578 MB / 0.7223 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7763, allocations: 0 / 0.7223 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008366/0.7771, allocations: 422.5 kB / 0.7227 GB, free: 116.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.779, allocations: 435.3 kB / 0.7232 GB, free: 116.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009289/0.7882, allocations: 6.848 MB / 0.7299 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/0.7901, allocations: 2.005 MB / 0.7318 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002689/0.7928, allocations: 1.098 MB / 0.7329 GB, free: 110.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008654/0.7936, allocations: 368.2 kB / 0.7332 GB, free: 110.4 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.7936, allocations: 0.5469 kB / 0.7332 GB, free: 110.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.05144/0.8451, allocations: 31.98 MB / 0.7645 GB, free: 79.63 MB / 0.5919 GB " [Timeout remaining time 799] make -j1 -f ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.makefile [Timeout 800] (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 & ./ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 800] 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: 8.0273826867342]