Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001923/0.001922, allocations: 181 kB / 18.71 MB, free: 4.207 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.206/0.206, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.337, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002509/0.3395, allocations: 1.591 MB / 0.5205 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006912/0.3402, allocations: 415.7 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.3403, allocations: 0 / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.3406, allocations: 106.6 kB / 0.521 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.3409, allocations: 85.78 kB / 0.5211 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.3412, allocations: 107.2 kB / 0.5212 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.3413, allocations: 76.55 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.3414, allocations: 19.31 kB / 0.5213 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.3415, allocations: 45.97 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3416, allocations: 65 kB / 0.5214 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3416, allocations: 3.344 kB / 0.5214 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.3417, allocations: 43.56 kB / 0.5214 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.3418, allocations: 25.92 kB / 0.5214 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.3418, allocations: 31.3 kB / 0.5215 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.342, allocations: 113.4 kB / 0.5216 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.342, allocations: 0 / 0.5216 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.342, allocations: 5.344 kB / 0.5216 GB, free: 1.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3421, allocations: 0 / 0.5216 GB, free: 1.973 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003881/0.3424, allocations: 423.9 kB / 0.522 GB, free: 1.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3425, allocations: 8.875 kB / 0.522 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.3425, allocations: 10.36 kB / 0.522 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.3427, allocations: 204.3 kB / 0.5222 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3427, allocations: 6.141 kB / 0.5222 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.3427, allocations: 2.594 kB / 0.5222 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.3429, allocations: 70.17 kB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3429, allocations: 0 / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3429, allocations: 1.312 kB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3429, allocations: 3.984 kB / 0.5223 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.343, allocations: 25.89 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.3434, allocations: 304.7 kB / 0.5226 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3435, allocations: 53.75 kB / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.3435, allocations: 27.33 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3436, allocations: 1.75 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.3436, allocations: 31.41 kB / 0.5227 GB, free: 0.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3436, allocations: 0 / 0.5227 GB, free: 0.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008471/0.3444, allocations: 249.5 kB / 0.5229 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.3445, allocations: 51.41 kB / 0.523 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.3447, allocations: 240 kB / 0.5232 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.3447, allocations: 29.7 kB / 0.5232 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.3447, allocations: 111.8 kB / 0.5233 GB, free: 444 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.3448, allocations: 29.45 kB / 0.5234 GB, free: 420 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.3448, allocations: 24.31 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.3449, allocations: 323.6 kB / 0.5237 GB, free: 72 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.345, allocations: 30.06 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.345, allocations: 35.31 kB / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3452, allocations: 71.09 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3452, allocations: 0 / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002298/0.3454, allocations: 109 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3455, allocations: 6.938 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3455, allocations: 4 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3455, allocations: 0.7031 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.3456, allocations: 17.45 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3456, allocations: 4.547 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.3457, allocations: 8.266 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3457, allocations: 6.656 kB / 0.524 GB, free: 15.95 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 (8): * Single equations (assignments): 8 * 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 9.301e-05/0.3458, allocations: 131.9 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.3458, allocations: 14.77 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.3461, allocations: 136.8 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3461, allocations: 1.875 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3461, allocations: 4.641 kB / 0.5243 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3461, allocations: 0 / 0.5243 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.3466, allocations: 424.9 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3466, allocations: 3.938 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.3467, allocations: 25.16 kB / 0.5247 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3467, allocations: 1.906 kB / 0.5247 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3467, allocations: 5.609 kB / 0.5247 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3468, allocations: 1.188 kB / 0.5247 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3468, allocations: 0 / 0.5247 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.347, allocations: 210.9 kB / 0.5249 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.3471, allocations: 93 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.3471, allocations: 2.359 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.3472, allocations: 6.312 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.3473, allocations: 13.19 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.3473, allocations: 2.672 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.3475, allocations: 186.9 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3475, allocations: 1.406 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.3477, allocations: 23.86 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001041/0.3488, allocations: 465.3 kB / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.349, allocations: 73.77 kB / 0.5257 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.349, allocations: 0 / 0.5257 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.1e-05/0.3491, allocations: 38.7 kB / 0.5258 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3495, allocations: 30.34 kB / 0.5258 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.35, allocations: 292.1 kB / 0.5261 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.3502, allocations: 0.7202 MB / 0.5268 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.3503, allocations: 20.66 kB / 0.5268 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.3504, allocations: 15.02 kB / 0.5268 GB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3504, allocations: 0 / 0.5268 GB, free: 13.8 MB / 398.1 MB Notification: Performance of Templates: time 0.003735/0.3541, allocations: 1.377 MB / 0.5282 GB, free: 13.33 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches