Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.conf.json 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.00109/0.00109, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.001293/0.001293, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9484/0.9484, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.129/0.129, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 3.938 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.924e-05, allocations: 6.25 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.00184/0.001859, allocations: 1.613 MB / 349.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004497/0.002309, allocations: 335.4 kB / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.002361, allocations: 4 kB / 349.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.002642, allocations: 91.67 kB / 349.7 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.002811, allocations: 71.72 kB / 349.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.002999, allocations: 103.7 kB / 349.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.003127, allocations: 79.81 kB / 350 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.003219, allocations: 8.172 kB / 350 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.003274, allocations: 47.89 kB / 350 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.106e-05/0.003355, allocations: 59.86 kB / 350.1 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.003372, allocations: 4 kB / 350.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.276e-05/0.003435, allocations: 31.88 kB / 350.1 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.003491, allocations: 23.91 kB / 350.1 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.00352, allocations: 15.94 kB / 350.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.00366, allocations: 87.66 kB / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003662, allocations: 4 kB / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.003663, allocations: 0 / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.003667, allocations: 0 / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000375/0.004042, allocations: 447.9 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.004083, allocations: 8.031 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.004131, allocations: 20.78 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.004252, allocations: 152.4 kB / 350.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.004263, allocations: 384 / 350.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.004286, allocations: 8.312 kB / 350.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.004416, allocations: 82.31 kB / 350.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.004427, allocations: 4.125 kB / 351 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.004441, allocations: 11.94 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.004449, allocations: 0 / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.004487, allocations: 15.98 kB / 351 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.004798, allocations: 442.6 kB / 351.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.005016, allocations: 82.05 kB / 351.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.005046, allocations: 27.55 kB / 351.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.005066, allocations: 11.92 kB / 351.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.005084, allocations: 33.39 kB / 351.6 MB, free: 5.375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.005085, allocations: 4 kB / 351.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003653/0.00545, allocations: 173.1 kB / 351.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.005472, allocations: 81.11 kB / 351.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.71e-05/0.005569, allocations: 242.6 kB / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-06/0.005575, allocations: 25.7 kB / 352.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.005614, allocations: 162.8 kB / 352.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.005635, allocations: 31.7 kB / 352.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.005665, allocations: 35.36 kB / 352.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.211e-05/0.005717, allocations: 0.504 MB / 352.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.005738, allocations: 8 kB / 352.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.005764, allocations: 35.36 kB / 352.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.932e-05/0.005813, allocations: 59.42 kB / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.005814, allocations: 0 / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.945e-05/0.005894, allocations: 89.53 kB / 353 MB, free: 3.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.005904, allocations: 4 kB / 353 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005909, allocations: 0 / 353 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.005924, allocations: 4 kB / 353 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.005973, allocations: 19.98 kB / 353 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.005978, allocations: 0 / 353 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.005997, allocations: 4 kB / 353 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.006003, allocations: 0 / 353 MB, free: 3.816 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 4.989e-05/0.006053, allocations: 168.5 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.006078, allocations: 19.89 kB / 353.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.006198, allocations: 98.77 kB / 353.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.0062, allocations: 0 / 353.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.006203, allocations: 3.938 kB / 353.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006206, allocations: 0 / 353.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.006488, allocations: 0.516 MB / 353.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.006489, allocations: 0 / 353.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.006525, allocations: 16 kB / 353.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.006528, allocations: 4.031 kB / 353.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.006536, allocations: 3.984 kB / 353.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.006538, allocations: 4 kB / 353.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006539, allocations: 0 / 353.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.006649, allocations: 366.8 kB / 354.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-06/0.006658, allocations: 7.953 kB / 354.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.006671, allocations: 11.92 kB / 354.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.73e-05/0.006718, allocations: 4 kB / 354.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.006756, allocations: 11.92 kB / 354.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.00676, allocations: 4 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.149e-05/0.006812, allocations: 179.2 kB / 354.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006812, allocations: 0 / 354.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000179/0.006991, allocations: 27.89 kB / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.000736/0.007727, allocations: 383.8 kB / 354.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.007855, allocations: 55.59 kB / 354.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007856, allocations: 0 / 354.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.007887, allocations: 35.61 kB / 354.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.008146, allocations: 21.23 kB / 354.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.008469, allocations: 261.9 kB / 355.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.008505, allocations: 71.28 kB / 355.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.217e-05/0.008547, allocations: 28.89 kB / 355.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.008577, allocations: 16.5 kB / 355.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008578, allocations: 0 / 355.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of Templates: time 0.002975/0.01155, allocations: 1.422 MB / 356.7 MB, free: 56 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1218919809907675]