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.00835/0.00835, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0009361/0.0009361, allocations: 85.05 kB / 25.4 MB, free: 7 MB / 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.0009586/0.0009586, allocations: 158.9 kB / 29.33 MB, free: 3.137 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 1.005/1.005, allocations: 177.1 MB / 210.3 MB, free: 3.445 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.6267/0.6267, allocations: 102.5 MB / 369.9 MB, free: 212 kB / 330.7 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 1.0.0 (/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.824e-06/1.824e-06, allocations: 0 / 470.4 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.078e-05, allocations: 3.438 kB / 470.4 MB, free: 18.83 MB / 410.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.1154/0.1154, allocations: 57.87 MB / 0.5159 GB, free: 13.78 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01844/0.1339, allocations: 18.75 MB / 0.5343 GB, free: 10.97 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006797/0.1345, allocations: 27.88 kB / 0.5343 GB, free: 10.94 MB / 458.8 MB [/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.001651/0.1362, allocations: 0.847 MB / 0.5351 GB, free: 10.09 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.1373, allocations: 0.8308 MB / 0.5359 GB, free: 9.254 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004935/0.1422, allocations: 2.792 MB / 0.5386 GB, free: 6.449 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.1439, allocations: 2.261 MB / 0.5409 GB, free: 4.188 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.1455, allocations: 1.981 MB / 0.5428 GB, free: 2.148 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1291/0.2746, allocations: 54.35 MB / 0.5959 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.2765, allocations: 1.762 MB / 0.5976 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0006537/0.2771, allocations: 496 kB / 0.5981 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006064/0.2832, allocations: 3.254 MB / 0.6012 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.2845, allocations: 2.241 MB / 0.6034 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.2859, allocations: 1.641 MB / 0.605 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008846/0.2947, allocations: 7.894 MB / 0.6127 GB, free: 11.58 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2947, allocations: 0 / 0.6127 GB, free: 11.58 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2947, allocations: 0 / 0.6127 GB, free: 11.58 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.851e-05/0.2948, allocations: 0 / 0.6127 GB, free: 11.58 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.006908/0.3017, allocations: 6.409 MB / 0.619 GB, free: 5.094 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.3017, allocations: 8.031 kB / 0.619 GB, free: 5.086 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007571/0.3025, allocations: 0.611 MB / 0.6196 GB, free: 4.473 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004345/0.3068, allocations: 4.071 MB / 0.6236 GB, free: 304 kB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.3069, allocations: 150.4 kB / 0.6237 GB, free: 140 kB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/0.3072, allocations: 216.4 kB / 0.6239 GB, free: 15.92 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006388/0.3136, allocations: 9.013 MB / 0.6327 GB, free: 4.742 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.3136, allocations: 11.92 kB / 0.6327 GB, free: 4.73 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.3138, allocations: 91.98 kB / 0.6328 GB, free: 4.641 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.3139, allocations: 178.9 kB / 0.633 GB, free: 4.465 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004201/0.3181, allocations: 3.021 MB / 0.6359 GB, free: 1.43 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.3285, allocations: 8.794 MB / 0.6445 GB, free: 8.457 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.3308, allocations: 1.371 MB / 0.6459 GB, free: 7.059 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.331, allocations: 162.3 kB / 0.646 GB, free: 6.895 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/0.3314, allocations: 172.3 kB / 0.6462 GB, free: 6.727 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.3314, allocations: 71.39 kB / 0.6463 GB, free: 6.648 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=92): time 2.284e-06/0.3314, allocations: 0 / 0.6463 GB, free: 6.648 MB / 0.5574 GB Notification: Performance of matching and sorting (n=93): time 0.005445/0.3369, allocations: 2.473 MB / 0.6487 GB, free: 4.133 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008124/0.3377, allocations: 2.634 MB / 0.6512 GB, free: 0.8672 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2293/0.567, allocations: 4.63 MB / 0.6558 GB, free: 125.8 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.5672, allocations: 57.33 kB / 0.6558 GB, free: 125.8 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.5687, allocations: 2.347 MB / 0.6581 GB, free: 125.6 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.5689, allocations: 356.3 kB / 0.6585 GB, free: 125.5 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007164/0.5696, allocations: 0.6008 MB / 0.659 GB, free: 125.4 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.5697, allocations: 480.3 kB / 0.6595 GB, free: 125 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.5701, allocations: 219.5 kB / 0.6597 GB, free: 125 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.5716, allocations: 4.509 MB / 0.6641 GB, free: 119.6 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.5728, allocations: 1.415 MB / 0.6655 GB, free: 118.6 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.5728, allocations: 5.75 kB / 0.6655 GB, free: 118.6 MB / 0.5574 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.002546/0.5754, allocations: 1.675 MB / 0.6671 GB, free: 118.3 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.5754, allocations: 13.06 kB / 0.6671 GB, free: 118.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.5754, allocations: 23.69 kB / 0.6672 GB, free: 118.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.543e-05/0.5755, allocations: 29.55 kB / 0.6672 GB, free: 118.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.5767, allocations: 0.4904 MB / 0.6677 GB, free: 118.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.333e-05/0.5767, allocations: 43.38 kB / 0.6677 GB, free: 118.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.5783, allocations: 107.5 kB / 0.6678 GB, free: 118.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.5784, allocations: 184 kB / 0.668 GB, free: 118.3 MB / 0.5574 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.0005986/0.579, allocations: 334.4 kB / 0.6683 GB, free: 118.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005613/0.5796, allocations: 487.2 kB / 0.6688 GB, free: 117.9 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.5815, allocations: 1.288 MB / 0.67 GB, free: 117.7 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5815, allocations: 11.75 kB / 0.67 GB, free: 117.7 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.5815, allocations: 0 / 0.67 GB, free: 117.7 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.5815, allocations: 7.344 kB / 0.6701 GB, free: 117.7 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004172/0.5856, allocations: 3.233 MB / 0.6732 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5857, allocations: 0 / 0.6732 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.5861, allocations: 214.2 kB / 0.6734 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.5862, allocations: 2.812 kB / 0.6734 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.5862, allocations: 42.14 kB / 0.6735 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.5862, allocations: 3.594 kB / 0.6735 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5862, allocations: 0 / 0.6735 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.5877, allocations: 1.271 MB / 0.6747 GB, free: 116.9 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009516/0.5887, allocations: 0.798 MB / 0.6755 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000344/0.589, allocations: 41.11 kB / 0.6755 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009076/0.5899, allocations: 63.39 kB / 0.6756 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.59, allocations: 77.75 kB / 0.6757 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.5901, allocations: 76.34 kB / 0.6757 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.002587/0.5927, allocations: 2.504 MB / 0.6782 GB, free: 116.4 MB / 0.5574 GB Notification: Performance of sort global known variables: time 9e-08/0.5927, allocations: 0 / 0.6782 GB, free: 116.4 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001794/0.5945, allocations: 0.8725 MB / 0.679 GB, free: 116.4 MB / 0.5574 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.001574/0.5961, allocations: 0.8896 MB / 0.6799 GB, free: 116.3 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.5972, allocations: 0.8432 MB / 0.6807 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.5972, allocations: 7.625 kB / 0.6807 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.5976, allocations: 272.9 kB / 0.681 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.5991, allocations: 0.584 MB / 0.6816 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006717/0.6058, allocations: 5.724 MB / 0.6871 GB, free: 113.6 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/0.6066, allocations: 0.8619 MB / 0.688 GB, free: 113.5 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001733/0.6083, allocations: 0.86 MB / 0.6888 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002/0.6103, allocations: 1.127 MB / 0.6899 GB, free: 113.1 MB / 0.5574 GB Notification: Performance of SimCode: time 1.353e-06/0.6103, allocations: 0 / 0.6899 GB, free: 113.1 MB / 0.5574 GB Notification: Performance of Templates: time 0.06079/0.6711, allocations: 56.48 MB / 0.7451 GB, free: 75.32 MB / 0.5574 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=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 5.900303527712822]