Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.0007993/0.0007993, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.001998, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0011/0.0011, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002589, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9544/0.9544, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1202/1.075, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.251/0.251, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0226/0.2736, allocations: 13.1 MB / 291.5 MB, free: 7.328 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.411e-05, allocations: 7.156 kB / 292.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002617/0.002631, allocations: 1.688 MB / 294.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008566/0.003488, allocations: 0.5374 MB / 295.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.003543, allocations: 3.938 kB / 295.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.003672, allocations: 23.73 kB / 295.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.003909, allocations: 79.56 kB / 295.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.00414, allocations: 99.56 kB / 295.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.004271, allocations: 63.86 kB / 295.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.537e-05/0.004346, allocations: 15.95 kB / 295.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.328e-05/0.004439, allocations: 43.91 kB / 295.4 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.004492, allocations: 11.94 kB / 295.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.004504, allocations: 4 kB / 295.4 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-05/0.004576, allocations: 35.86 kB / 295.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.004615, allocations: 15.94 kB / 295.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.004638, allocations: 11.94 kB / 295.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.004768, allocations: 63.73 kB / 295.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.004776, allocations: 0 / 295.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004777, allocations: 4 kB / 295.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.004783, allocations: 0 / 295.6 MB, free: 3.465 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003035/0.005087, allocations: 301.3 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.608e-05/0.005113, allocations: 8.031 kB / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.005137, allocations: 4.938 kB / 295.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.005241, allocations: 133.6 kB / 296 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.005247, allocations: 4.375 kB / 296 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.005264, allocations: 4.375 kB / 296 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.204e-05/0.005336, allocations: 54.94 kB / 296.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.005341, allocations: 192 / 296.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.005348, allocations: 8.125 kB / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-06/0.005351, allocations: 0 / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.005368, allocations: 7.938 kB / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.005525, allocations: 163.2 kB / 296.2 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.005636, allocations: 26.56 kB / 296.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.304e-05/0.005649, allocations: 8.859 kB / 296.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.005664, allocations: 4.078 kB / 296.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.005681, allocations: 34.56 kB / 296.3 MB, free: 2.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.005682, allocations: 0 / 296.3 MB, free: 2.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002208/0.005903, allocations: 89.48 kB / 296.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.005925, allocations: 51.41 kB / 296.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/0.006, allocations: 148.2 kB / 296.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.00601, allocations: 29.7 kB / 296.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.006034, allocations: 88.12 kB / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.006052, allocations: 19.84 kB / 296.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.006074, allocations: 17.7 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.006139, allocations: 322.8 kB / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.006148, allocations: 4 kB / 297.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.006155, allocations: 192 / 297.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.006181, allocations: 28.84 kB / 297.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.006182, allocations: 4 kB / 297.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.464e-05/0.006227, allocations: 49.62 kB / 297.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.006236, allocations: 4 kB / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/0.006239, allocations: 3.938 kB / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.006246, allocations: 0 / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.854e-05/0.006285, allocations: 11.98 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.006288, allocations: 7.938 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.006302, allocations: 0 / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-06/0.006304, allocations: 0 / 297.2 MB, free: 1.695 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 (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 4.624e-05/0.006351, allocations: 124.7 kB / 297.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.006366, allocations: 11.94 kB / 297.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.006436, allocations: 54.14 kB / 297.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.006437, allocations: 0 / 297.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.006438, allocations: 0 / 297.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.00644, allocations: 4 kB / 297.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.006593, allocations: 214.8 kB / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.006594, allocations: 3.938 kB / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.00662, allocations: 8 kB / 297.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.006627, allocations: 8.234 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.006628, allocations: 0 / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.006633, allocations: 8.172 kB / 297.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.006635, allocations: 4 kB / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006636, allocations: 0 / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.343e-05/0.006699, allocations: 147.4 kB / 297.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.006709, allocations: 8 kB / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.722e-05/0.006736, allocations: 0 / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.006756, allocations: 7.984 kB / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.006758, allocations: 0 / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.686e-05/0.006785, allocations: 34.06 kB / 297.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006785, allocations: 0 / 297.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001201/0.006905, allocations: 19.92 kB / 297.8 MB, free: 0.9883 MB / 282.7 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.001047/0.007951, allocations: 0.5562 MB / 298.4 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.679e-05/0.008008, allocations: 24.78 kB / 298.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.008013, allocations: 7.938 kB / 298.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.15e-05/0.008035, allocations: 16.84 kB / 298.4 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.008203, allocations: 83.33 kB / 298.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.008541, allocations: 171.2 kB / 298.7 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.131e-05/0.008572, allocations: 63.34 kB / 298.7 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.453e-05/0.008597, allocations: 7.984 kB / 298.7 MB, free: 312 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.008639, allocations: 55.38 kB / 298.8 MB, free: 256 kB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00864, allocations: 0 / 298.8 MB, free: 256 kB / 282.7 MB Notification: Performance of Templates: time 0.002409/0.01105, allocations: 1.256 MB / 300 MB, free: 15.01 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.811918433755636]