Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007236/0.0007236, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009761/0.0017, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006221/0.0006221, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008568/0.001479, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9428/0.9428, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.154/1.097, allocations: 52.48 MB / 238.5 MB, free: 7.613 MB / 234.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.1485/0.1485, allocations: 32.79 MB / 272 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02261/0.1711, allocations: 12.54 MB / 284.5 MB, free: 9.695 MB / 282.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.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.674e-05, allocations: 13.2 kB / 285.9 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002629/0.002645, allocations: 1.719 MB / 287.6 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00377/0.006415, allocations: 458.6 kB / 288.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.006482, allocations: 8 kB / 288.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.007026, allocations: 487 kB / 288.5 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.007345, allocations: 271.3 kB / 288.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.007782, allocations: 179.4 kB / 289 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.00804, allocations: 167.6 kB / 289.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.475e-05/0.008135, allocations: 19.97 kB / 289.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.008315, allocations: 163.6 kB / 289.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.008523, allocations: 195.6 kB / 289.5 MB, free: 4.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.008546, allocations: 4 kB / 289.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.008659, allocations: 43.92 kB / 289.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.00875, allocations: 83.72 kB / 289.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.008791, allocations: 39.75 kB / 289.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.009046, allocations: 199.2 kB / 289.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.009057, allocations: 4 kB / 289.9 MB, free: 4.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.009058, allocations: 3.938 kB / 289.9 MB, free: 4.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.009069, allocations: 0 / 289.9 MB, free: 4.344 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.003613/0.01268, allocations: 0.5915 MB / 290.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.01272, allocations: 12.03 kB / 290.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.01276, allocations: 20.92 kB / 290.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.01298, allocations: 250 kB / 290.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.01299, allocations: 384 / 290.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.01301, allocations: 12.36 kB / 290.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.01311, allocations: 58.94 kB / 290.8 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.01312, allocations: 4.188 kB / 290.8 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.01313, allocations: 8.125 kB / 290.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.01314, allocations: 0 / 290.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.979e-05/0.01317, allocations: 15.92 kB / 290.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.01347, allocations: 211 kB / 291 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.01353, allocations: 33.39 kB / 291.1 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.01355, allocations: 8.891 kB / 291.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.01357, allocations: 7.938 kB / 291.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.0136, allocations: 38.56 kB / 291.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.0136, allocations: 0 / 291.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005491/0.01415, allocations: 157.5 kB / 291.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.01418, allocations: 51.41 kB / 291.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.01462, allocations: 0.5244 MB / 291.9 MB, free: 2.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.01463, allocations: 25.7 kB / 291.9 MB, free: 2.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.01471, allocations: 145.2 kB / 292 MB, free: 2.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.01475, allocations: 31.73 kB / 292.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.01479, allocations: 25.64 kB / 292.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.01491, allocations: 366.6 kB / 292.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.01493, allocations: 7.984 kB / 292.5 MB, free: 1.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.01495, allocations: 4 kB / 292.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.01499, allocations: 31.61 kB / 292.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.015, allocations: 0 / 292.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001001/0.0151, allocations: 69.66 kB / 292.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.01511, allocations: 4 kB / 292.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01511, allocations: 0 / 292.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.01513, allocations: 4 kB / 292.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/0.01822, allocations: 15.98 kB / 292.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.01822, allocations: 4 kB / 292.6 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.01826, allocations: 4 kB / 292.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.01826, allocations: 0 / 292.6 MB, free: 1.469 MB / 282.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 8.149e-05/0.01835, allocations: 128.5 kB / 292.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.01839, allocations: 19.98 kB / 292.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.01854, allocations: 97.52 kB / 292.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.01854, allocations: 4 kB / 292.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01854, allocations: 0 / 292.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01855, allocations: 0 / 292.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.01888, allocations: 307.8 kB / 293.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01888, allocations: 0 / 293.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.01893, allocations: 23.92 kB / 293.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.01896, allocations: 32.14 kB / 293.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01896, allocations: 0 / 293.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.01897, allocations: 8 kB / 293.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.01898, allocations: 4.078 kB / 293.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01898, allocations: 3.984 kB / 293.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.0191, allocations: 180.3 kB / 293.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.01913, allocations: 8.031 kB / 293.4 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.0192, allocations: 4 kB / 293.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.01923, allocations: 7.922 kB / 293.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.01924, allocations: 4 kB / 293.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00025/0.01949, allocations: 287.2 kB / 293.7 MB, free: 316 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01949, allocations: 0 / 293.7 MB, free: 316 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.01971, allocations: 31.88 kB / 293.7 MB, free: 284 kB / 282.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.001677/0.02139, allocations: 0.6223 MB / 294.3 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.02151, allocations: 36.84 kB / 294.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.02152, allocations: 4 kB / 294.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.02157, allocations: 32.77 kB / 294.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.02187, allocations: 113.1 kB / 294.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009012/0.02277, allocations: 0.6066 MB / 295.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.02287, allocations: 123.2 kB / 295.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.631e-05/0.02292, allocations: 13.19 kB / 295.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.02298, allocations: 63.36 kB / 295.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02298, allocations: 0 / 295.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Templates: time 0.01034/0.03333, allocations: 1.728 MB / 297 MB, free: 13.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.774934148415923]