Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.00117, allocations: 115.1 kB / 17.75 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.001141, allocations: 191 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.205/0.205, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3891, allocations: 60.82 MB / 0.5189 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002766/0.3919, allocations: 1.551 MB / 0.5204 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3932, allocations: 1.027 MB / 0.5214 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.3933, allocations: 1.219 kB / 0.5214 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.3935, allocations: 19.42 kB / 0.5214 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.3938, allocations: 45.94 kB / 0.5215 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.394, allocations: 89.2 kB / 0.5215 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.3942, allocations: 54.14 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3943, allocations: 12.53 kB / 0.5216 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.377e-05/0.3944, allocations: 29.95 kB / 0.5216 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.3945, allocations: 29.88 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3946, allocations: 3.594 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.3947, allocations: 48.94 kB / 0.5217 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.3948, allocations: 9.781 kB / 0.5217 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.3948, allocations: 17 kB / 0.5217 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.3951, allocations: 93.47 kB / 0.5218 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3951, allocations: 1.25 kB / 0.5218 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3951, allocations: 3.938 kB / 0.5218 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.3951, allocations: 0 / 0.5218 GB, free: 1.566 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004986/0.3956, allocations: 378.8 kB / 0.5222 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.3957, allocations: 9.406 kB / 0.5222 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.3957, allocations: 8.219 kB / 0.5222 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.3959, allocations: 183.8 kB / 0.5224 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.3959, allocations: 1.406 kB / 0.5224 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.396, allocations: 6.625 kB / 0.5224 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3961, allocations: 66.08 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3962, allocations: 7.875 kB / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3962, allocations: 6.094 kB / 0.5225 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3962, allocations: 0 / 0.5225 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.959e-05/0.3963, allocations: 21.61 kB / 0.5225 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.3966, allocations: 269.2 kB / 0.5227 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.3968, allocations: 48.06 kB / 0.5228 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.3969, allocations: 17.78 kB / 0.5228 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3969, allocations: 1.188 kB / 0.5228 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.3969, allocations: 32.56 kB / 0.5228 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3969, allocations: 0 / 0.5228 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005466/0.3975, allocations: 145.6 kB / 0.523 GB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3975, allocations: 87.02 kB / 0.5231 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.3977, allocations: 131.6 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.3977, allocations: 25.7 kB / 0.5232 GB, free: 220 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.3977, allocations: 88.86 kB / 0.5233 GB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.3977, allocations: 19.34 kB / 0.5233 GB, free: 116 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.3978, allocations: 19.91 kB / 0.5233 GB, free: 96 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3979, allocations: 318.2 kB / 0.5236 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.398, allocations: 19.09 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/0.3981, allocations: 35.92 kB / 0.5237 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.3982, allocations: 47.06 kB / 0.5237 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3982, allocations: 0 / 0.5237 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001983/0.3984, allocations: 80.38 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3984, allocations: 4.594 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3985, allocations: 5.797 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3985, allocations: 0 / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.3985, allocations: 12.2 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3986, allocations: 1.25 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.3986, allocations: 5.172 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.3986, allocations: 0.9688 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0001059/0.3987, allocations: 119.4 kB / 0.524 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.3988, allocations: 7.5 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.399, allocations: 104.1 kB / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.399, allocations: 1.062 kB / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3991, allocations: 0 / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3991, allocations: 1.828 kB / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.3995, allocations: 338.3 kB / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3995, allocations: 0.5156 kB / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.3996, allocations: 21.2 kB / 0.5244 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3996, allocations: 7.984 kB / 0.5244 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3996, allocations: 0 / 0.5244 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.3996, allocations: 6.859 kB / 0.5244 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3996, allocations: 3.938 kB / 0.5244 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.3999, allocations: 172.5 kB / 0.5246 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.3999, allocations: 79.5 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.4, allocations: 0.7031 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.4, allocations: 18.84 kB / 0.5247 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.4001, allocations: 1.969 kB / 0.5247 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4001, allocations: 1.969 kB / 0.5247 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.159e-05/0.4002, allocations: 103.4 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4002, allocations: 0 / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.4004, allocations: 24.3 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.001069/0.4015, allocations: 447.1 kB / 0.5252 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.4017, allocations: 44.69 kB / 0.5253 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4018, allocations: 0 / 0.5253 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.913e-05/0.4018, allocations: 24.61 kB / 0.5253 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.4022, allocations: 25.92 kB / 0.5253 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.4026, allocations: 154.3 kB / 0.5255 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.403, allocations: 0.6909 MB / 0.5261 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.229e-05/0.403, allocations: 15.97 kB / 0.5262 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.4031, allocations: 15.11 kB / 0.5262 GB, free: 13.72 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4031, allocations: 4 kB / 0.5262 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Templates: time 0.00417/0.4073, allocations: 1.347 MB / 0.5275 GB, free: 13.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches