Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.000985/0.000985, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001145/0.001145, allocations: 172.5 kB / 24.91 MB, free: 8.258 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2448/0.2448, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] 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.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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.934e-05, allocations: 4.562 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003417/0.003447, allocations: 1.695 MB / 325 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009721/0.004419, allocations: 0.5375 MB / 325.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.004489, allocations: 4 kB / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.004791, allocations: 83.58 kB / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.005094, allocations: 95.59 kB / 325.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.005392, allocations: 91.62 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.005568, allocations: 83.81 kB / 325.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.005661, allocations: 7.938 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.293e-05/0.005754, allocations: 55.81 kB / 325.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.005845, allocations: 35.91 kB / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.005861, allocations: 4 kB / 326 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.731e-05/0.005958, allocations: 47.91 kB / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.006007, allocations: 23.92 kB / 326 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.006032, allocations: 7.938 kB / 326 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.00621, allocations: 95.66 kB / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.006214, allocations: 0 / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006215, allocations: 0 / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.006219, allocations: 0 / 326.1 MB, free: 6.766 MB / 298.7 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.0003779/0.006596, allocations: 317.4 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.006632, allocations: 16.03 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.006666, allocations: 8.922 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.006824, allocations: 142.3 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.006832, allocations: 384 / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.006851, allocations: 4.375 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.006953, allocations: 58.94 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.006962, allocations: 192 / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.00697, allocations: 4.125 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.006976, allocations: 0 / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.007002, allocations: 11.94 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.007257, allocations: 175 kB / 326.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.157e-05/0.007308, allocations: 30.75 kB / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.007327, allocations: 16.83 kB / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.007343, allocations: 0 / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.007368, allocations: 38.44 kB / 326.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.007369, allocations: 0 / 326.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004928/0.007862, allocations: 137.8 kB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.007891, allocations: 51.41 kB / 327.1 MB, free: 5.664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.008028, allocations: 178.1 kB / 327.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.00804, allocations: 29.7 kB / 327.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.008082, allocations: 100.1 kB / 327.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.00811, allocations: 23.75 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.00815, allocations: 21.7 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.008246, allocations: 326.8 kB / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.008261, allocations: 4 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.008276, allocations: 4 kB / 327.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.008325, allocations: 40.75 kB / 327.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.008326, allocations: 0 / 327.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.501e-05/0.008421, allocations: 57.62 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.008433, allocations: 8 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.008438, allocations: 0 / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.008452, allocations: 96 / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.008534, allocations: 19.97 kB / 327.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.00854, allocations: 4 kB / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.008565, allocations: 0 / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.008573, allocations: 3.984 kB / 327.9 MB, free: 4.809 MB / 298.7 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 6.98e-05/0.008643, allocations: 120.6 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.008673, allocations: 7.938 kB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.008811, allocations: 79.42 kB / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.008815, allocations: 4 kB / 328.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.008816, allocations: 0 / 328.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.00882, allocations: 3.938 kB / 328.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.009139, allocations: 255.5 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.009142, allocations: 0 / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.009203, allocations: 15.98 kB / 328.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.009206, allocations: 7.938 kB / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.009213, allocations: 0 / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.009215, allocations: 0 / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.009216, allocations: 0 / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.009378, allocations: 168.4 kB / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.009393, allocations: 7.938 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.00941, allocations: 4 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.176e-05/0.009472, allocations: 3.984 kB / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.009508, allocations: 8 kB / 328.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.009515, allocations: 3.984 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.476e-05/0.00958, allocations: 48.36 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.00958, allocations: 3.938 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.009825, allocations: 23.92 kB / 328.7 MB, free: 3.988 MB / 298.7 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.001919/0.01174, allocations: 0.5602 MB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01188, allocations: 32.78 kB / 329.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.01188, allocations: 4 kB / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.01192, allocations: 32.94 kB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.01221, allocations: 19.92 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.01276, allocations: 216 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.813e-05/0.01283, allocations: 67.34 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.01288, allocations: 16.72 kB / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/0.01296, allocations: 59.36 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of SimCode: time 1.512e-06/0.01296, allocations: 8 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of Templates: time 0.004334/0.0173, allocations: 1.484 MB / 331.2 MB, free: 1.762 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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: 2.9636558438651264]