Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20,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.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 113.4 kB / 18.45 MB, free: 4.602 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.001196/0.001196, allocations: 185.1 kB / 19.38 MB, free: 3.684 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.255/1.255, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.191/0.191, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 64.12 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3179, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002435/0.3204, allocations: 1.569 MB / 0.5211 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3216, allocations: 1.035 MB / 0.5221 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.3216, allocations: 4 kB / 0.5221 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.3218, allocations: 20.88 kB / 0.5221 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.322, allocations: 42.36 kB / 0.5222 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.3223, allocations: 111.4 kB / 0.5223 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.3224, allocations: 50.56 kB / 0.5223 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.3225, allocations: 20.69 kB / 0.5224 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.3226, allocations: 27.72 kB / 0.5224 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3227, allocations: 21.91 kB / 0.5224 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3227, allocations: 7.234 kB / 0.5224 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.3228, allocations: 44.83 kB / 0.5225 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.3229, allocations: 13.23 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.3229, allocations: 21.89 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.3231, allocations: 90.36 kB / 0.5226 GB, free: 1.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3231, allocations: 1.312 kB / 0.5226 GB, free: 1.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3231, allocations: 0 / 0.5226 GB, free: 1.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3231, allocations: 0.7031 kB / 0.5226 GB, free: 1.578 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.0003511/0.3235, allocations: 382.1 kB / 0.5229 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.3235, allocations: 9.375 kB / 0.5229 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.3236, allocations: 7.688 kB / 0.523 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.3237, allocations: 188.2 kB / 0.5231 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.3237, allocations: 1.375 kB / 0.5231 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.3237, allocations: 2.844 kB / 0.5231 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.3239, allocations: 66.5 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3239, allocations: 4 kB / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3239, allocations: 1.406 kB / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3239, allocations: 0 / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-05/0.324, allocations: 27.38 kB / 0.5232 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.3243, allocations: 279.9 kB / 0.5235 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.3245, allocations: 46.86 kB / 0.5235 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.3245, allocations: 18.58 kB / 0.5236 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3246, allocations: 7.875 kB / 0.5236 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.3246, allocations: 36.17 kB / 0.5236 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3246, allocations: 1.156 kB / 0.5236 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005102/0.3251, allocations: 154.2 kB / 0.5238 GB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.3251, allocations: 82.14 kB / 0.5238 GB, free: 372 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.765e-05/0.3252, allocations: 132 kB / 0.524 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.3253, allocations: 26.8 kB / 0.524 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.3253, allocations: 91.75 kB / 0.5241 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.3253, allocations: 16.3 kB / 0.5241 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.3253, allocations: 18.95 kB / 0.5241 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3255, allocations: 323.8 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.3255, allocations: 24.23 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.3256, allocations: 32.42 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3258, allocations: 52.62 kB / 0.5245 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3258, allocations: 0 / 0.5245 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.326, allocations: 89.69 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.326, allocations: 10.19 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.326, allocations: 0 / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.326, allocations: 0 / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.3261, allocations: 11.62 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3261, allocations: 5.406 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.943e-05/0.3261, allocations: 5.016 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.3261, allocations: 1.406 kB / 0.5246 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 8.116e-05/0.3262, allocations: 119.7 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.3263, allocations: 6.938 kB / 0.5248 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.3265, allocations: 101.9 kB / 0.5249 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3265, allocations: 1.375 kB / 0.5249 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3265, allocations: 0 / 0.5249 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3265, allocations: 0.7031 kB / 0.5249 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.3269, allocations: 354.5 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.327, allocations: 0 / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.327, allocations: 16.58 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.327, allocations: 3.938 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.327, allocations: 1.203 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.327, allocations: 4.781 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.327, allocations: 0.75 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3273, allocations: 180.7 kB / 0.5254 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.3273, allocations: 79.83 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.3273, allocations: 5.719 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.3274, allocations: 8.562 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.3275, allocations: 4.109 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3275, allocations: 1.156 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.404e-05/0.3276, allocations: 116.1 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3276, allocations: 0 / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000258/0.3278, allocations: 16.94 kB / 0.5256 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.0009119/0.3287, allocations: 454.7 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.329, allocations: 53.09 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.329, allocations: 0 / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.3291, allocations: 29.75 kB / 0.5261 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.0002988/0.3294, allocations: 15.31 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.3297, allocations: 197.4 kB / 0.5263 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.33, allocations: 0.6919 MB / 0.527 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.33, allocations: 15.42 kB / 0.527 GB, free: 13.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.33, allocations: 0 / 0.527 GB, free: 13.68 MB / 398.1 MB Notification: Performance of Templates: time 0.003194/0.3332, allocations: 1.595 MB / 0.5286 GB, free: 13.23 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches