Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.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.008012/0.008012, allocations: 1.788 MB / 21.65 MB, free: 2.816 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.0007022/0.0007022, allocations: 82.5 kB / 25.48 MB, free: 6.363 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.0008205/0.0008205, allocations: 160 kB / 28.89 MB, free: 3.352 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.8696/0.8696, allocations: 177.1 MB / 209.3 MB, free: 2.238 MB / 186.7 MB " [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.6913/0.6913, allocations: 102.5 MB / 368.3 MB, free: 0.7578 MB / 330.8 MB " [Timeout remaining time 179] 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: translateModel(ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|verticalMill_L3_1.T_out|verticalMill_L3_1.mass_pca|verticalMill_L3_1.mass_pct|verticalMill_L3_1.mass_rct|verticalMill_L3_1.xi_wc_out.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester") translateModel(ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|verticalMill_L3_1.T_out|verticalMill_L3_1.mass_pca|verticalMill_L3_1.mass_pct|verticalMill_L3_1.mass_rct|verticalMill_L3_1.xi_wc_out.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 415 MB, free: 2.238 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.316e-05, allocations: 2.312 kB / 415 MB, free: 2.234 MB / 378.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.Mills.HardCoalMills.Check.SimpleMillTester): time 0.1451/0.1451, allocations: 66.94 MB / 482 MB, free: 15.34 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.0201/0.1652, allocations: 20.54 MB / 0.4907 GB, free: 10.73 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.1664, allocations: 43.81 kB / 0.4908 GB, free: 10.69 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.1687, allocations: 1.352 MB / 0.4921 GB, free: 9.328 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.1705, allocations: 1.483 MB / 0.4935 GB, free: 7.836 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005304/0.1758, allocations: 3.43 MB / 0.4969 GB, free: 4.391 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.003253/0.179, allocations: 4.141 MB / 0.5009 GB, free: 244 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002489/0.1815, allocations: 3.144 MB / 0.504 GB, free: 13.02 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3361/0.5176, allocations: 66.31 MB / 0.5688 GB, free: 27.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.5209, allocations: 2.566 MB / 0.5713 GB, free: 27.95 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.5221, allocations: 0.6168 MB / 0.5719 GB, free: 27.33 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005396/0.5275, allocations: 3.86 MB / 0.5756 GB, free: 25.23 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.5295, allocations: 3.281 MB / 0.5788 GB, free: 23.24 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00287/0.5324, allocations: 2.3 MB / 0.5811 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.5442, allocations: 9.818 MB / 0.5907 GB, free: 14.42 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5442, allocations: 0 / 0.5907 GB, free: 14.42 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5442, allocations: 0 / 0.5907 GB, free: 14.42 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002071/0.5445, allocations: 0 / 0.5907 GB, free: 14.42 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.008205/0.5527, allocations: 7.805 MB / 0.5983 GB, free: 6.992 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.5527, allocations: 12.03 kB / 0.5983 GB, free: 6.98 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008883/0.5536, allocations: 0.5854 MB / 0.5989 GB, free: 6.398 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/0.558, allocations: 4.028 MB / 0.6028 GB, free: 2.457 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.5582, allocations: 191.6 kB / 0.603 GB, free: 2.258 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/0.5585, allocations: 331 kB / 0.6033 GB, free: 1.941 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007705/0.5662, allocations: 12.3 MB / 0.6153 GB, free: 3.027 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.5662, allocations: 7.938 kB / 0.6153 GB, free: 3.02 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/0.5665, allocations: 134.2 kB / 0.6155 GB, free: 2.895 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/0.5666, allocations: 187.5 kB / 0.6156 GB, free: 2.711 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00535/0.572, allocations: 3.291 MB / 0.6189 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.5849, allocations: 8.517 MB / 0.6272 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003572/0.5885, allocations: 1.822 MB / 0.629 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/0.5891, allocations: 0.5308 MB / 0.6295 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003638/0.5895, allocations: 312.4 kB / 0.6298 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.156e-05/0.5896, allocations: 109.5 kB / 0.6299 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=208): time 4.458e-06/0.5896, allocations: 0 / 0.6299 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.008636/0.5982, allocations: 3.718 MB / 0.6335 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001482/0.5997, allocations: 4.687 MB / 0.6381 GB, free: 10.94 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005642/0.6053, allocations: 5.571 MB / 0.6435 GB, free: 6.234 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003993/0.6057, allocations: 96.33 kB / 0.6436 GB, free: 6.137 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008015/0.6065, allocations: 1.294 MB / 0.6449 GB, free: 5.055 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007207/0.6073, allocations: 0.7395 MB / 0.6456 GB, free: 4.359 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.6083, allocations: 0.7761 MB / 0.6464 GB, free: 3.625 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.6084, allocations: 305.1 kB / 0.6467 GB, free: 3.324 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.6094, allocations: 0.6434 MB / 0.6473 GB, free: 2.68 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003322/0.6128, allocations: 6.844 MB / 0.654 GB, free: 10.05 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/0.6151, allocations: 2.136 MB / 0.6561 GB, free: 7.805 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.6151, allocations: 4 kB / 0.6561 GB, free: 7.801 MB / 0.5418 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004245/0.6193, allocations: 2.491 MB / 0.6585 GB, free: 5.375 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.6194, allocations: 12 kB / 0.6585 GB, free: 5.363 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.6194, allocations: 12 kB / 0.6585 GB, free: 5.352 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/0.6209, allocations: 0.5591 MB / 0.6591 GB, free: 4.805 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.6224, allocations: 0.5218 MB / 0.6596 GB, free: 4.316 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.6242, allocations: 2.826 MB / 0.6623 GB, free: 1.402 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.6262, allocations: 302.8 kB / 0.6626 GB, free: 1.109 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.6264, allocations: 159.9 kB / 0.6628 GB, free: 0.9531 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (277): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,26), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001326/0.6278, allocations: 355.1 kB / 0.6631 GB, free: 0.6289 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007084/0.6285, allocations: 435.5 kB / 0.6635 GB, free: 208 kB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/0.6321, allocations: 2.493 MB / 0.666 GB, free: 13.7 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.6321, allocations: 16 kB / 0.666 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.6321, allocations: 6.656 kB / 0.666 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.6321, allocations: 11.95 kB / 0.666 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005679/0.6378, allocations: 4.525 MB / 0.6704 GB, free: 9.504 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6378, allocations: 0 / 0.6704 GB, free: 9.504 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.639, allocations: 356.2 kB / 0.6707 GB, free: 9.176 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.6402, allocations: 0.7424 MB / 0.6715 GB, free: 8.441 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.6403, allocations: 51.95 kB / 0.6715 GB, free: 8.391 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008716/0.6411, allocations: 1.219 MB / 0.6727 GB, free: 7.137 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6411, allocations: 3.938 kB / 0.6727 GB, free: 7.133 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.6445, allocations: 2.635 MB / 0.6753 GB, free: 4.504 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00404/0.6485, allocations: 3.017 MB / 0.6782 GB, free: 1.465 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005651/0.6491, allocations: 83.78 kB / 0.6783 GB, free: 1.387 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.6503, allocations: 108.6 kB / 0.6784 GB, free: 1.281 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.6505, allocations: 173.7 kB / 0.6786 GB, free: 1.113 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/0.6507, allocations: 175.9 kB / 0.6788 GB, free: 0.9414 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.002763/0.6535, allocations: 2.867 MB / 0.6816 GB, free: 14.37 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6535, allocations: 0 / 0.6816 GB, free: 14.37 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002442/0.6559, allocations: 1.485 MB / 0.683 GB, free: 12.89 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (verticalMill_L3_1.mass_rct,verticalMill_L3_1.mass_pct,verticalMill_L3_1.mass_pca,verticalMill_L3_1.xi_wc_out[1],verticalMill_L3_1.xi_wc_out[2],verticalMill_L3_1.T_out) * 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 (181): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {22} * Without analytic Jacobian (size): 1 system {4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00202/0.6579, allocations: 1.18 MB / 0.6842 GB, free: 11.93 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002662/0.6606, allocations: 1.946 MB / 0.6861 GB, free: 10.06 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.964e-05/0.6607, allocations: 75.81 kB / 0.6861 GB, free: 9.988 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.6618, allocations: 0.878 MB / 0.687 GB, free: 9.172 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.6646, allocations: 1.131 MB / 0.6881 GB, free: 8.074 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009759/0.6743, allocations: 8.629 MB / 0.6965 GB, free: 15.46 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.6753, allocations: 1.223 MB / 0.6977 GB, free: 14.22 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.002316/0.6777, allocations: 0.8733 MB / 0.6986 GB, free: 13.42 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00324/0.6809, allocations: 1.611 MB / 0.7001 GB, free: 11.81 MB / 0.5887 GB Notification: Performance of SimCode: time 1.753e-06/0.6809, allocations: 0 / 0.7001 GB, free: 11.81 MB / 0.5887 GB Notification: Performance of Templates: time 0.2598/0.9407, allocations: 105.3 MB / 0.803 GB, free: 159.4 MB / 0.6199 GB " [Timeout remaining time 799] make -j1 -f ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe >> ../files/ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.sim & ./ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Mills.HardCoalMills.Check.SimpleMillTester.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: 6.291242001578212]