Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.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.001028/0.001028, allocations: 91.31 kB / 20.42 MB, free: 4.137 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.0009885/0.0009885, allocations: 169 kB / 23.8 MB, free: 0.7656 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.932/0.932, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1423/0.1423, allocations: 32.38 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 3.938 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.382e-05, allocations: 9.344 kB / 347.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.003/0.003034, allocations: 1.599 MB / 349.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006716/0.003706, allocations: 331.4 kB / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.003777, allocations: 0 / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.004163, allocations: 107.7 kB / 349.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.004385, allocations: 79.66 kB / 349.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.004653, allocations: 99.73 kB / 349.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.004826, allocations: 71.81 kB / 350 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.004936, allocations: 11.92 kB / 350 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.005014, allocations: 39.91 kB / 350 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.005125, allocations: 71.84 kB / 350.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.005146, allocations: 4 kB / 350.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.833e-05/0.005234, allocations: 27.98 kB / 350.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.005293, allocations: 19.92 kB / 350.1 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.005328, allocations: 11.94 kB / 350.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.005521, allocations: 91.66 kB / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.005524, allocations: 0 / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005525, allocations: 0 / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.005531, allocations: 0 / 350.2 MB, free: 6.859 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.0004454/0.005976, allocations: 443.8 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.00602, allocations: 12.03 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.006069, allocations: 8.891 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.006226, allocations: 144.4 kB / 350.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.006238, allocations: 384 / 350.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.00627, allocations: 4.375 kB / 350.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.006413, allocations: 54.94 kB / 350.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.006427, allocations: 4.188 kB / 350.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.006442, allocations: 8.125 kB / 350.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.006453, allocations: 0 / 350.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.006496, allocations: 11.94 kB / 350.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.00728, allocations: 291.8 kB / 351.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.00749, allocations: 39.06 kB / 351.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.007519, allocations: 15.77 kB / 351.2 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.007547, allocations: 3.938 kB / 351.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.00757, allocations: 37.33 kB / 351.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.007572, allocations: 4 kB / 351.3 MB, free: 5.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004376/0.008009, allocations: 113.3 kB / 351.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.008033, allocations: 51.41 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.008191, allocations: 249.9 kB / 351.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.008198, allocations: 25.7 kB / 351.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.008248, allocations: 162.8 kB / 351.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.008272, allocations: 15.84 kB / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.008308, allocations: 23.38 kB / 351.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.008377, allocations: 0.4962 MB / 352.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.008398, allocations: 11.92 kB / 352.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.008417, allocations: 8 kB / 352.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.486e-05/0.008462, allocations: 31.88 kB / 352.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.008463, allocations: 0 / 352.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001029/0.008566, allocations: 69.47 kB / 352.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.008584, allocations: 8 kB / 352.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.00859, allocations: 0 / 352.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.008611, allocations: 0 / 352.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.008675, allocations: 11.98 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.008683, allocations: 0 / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.008711, allocations: 4 kB / 352.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.008719, allocations: 0 / 352.6 MB, free: 4.324 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 7.547e-05/0.008794, allocations: 160.6 kB / 352.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.00883, allocations: 15.89 kB / 352.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.008988, allocations: 74.77 kB / 352.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.008991, allocations: 0 / 352.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.008995, allocations: 0 / 352.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.009, allocations: 0 / 352.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.009293, allocations: 345.6 kB / 353.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009295, allocations: 0 / 353.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.00934, allocations: 11.98 kB / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.009343, allocations: 0 / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.009351, allocations: 4 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.009354, allocations: 3.938 kB / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.009356, allocations: 8.172 kB / 353.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.00946, allocations: 211.8 kB / 353.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.009473, allocations: 11.91 kB / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.009491, allocations: 0 / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.863e-05/0.009549, allocations: 4 kB / 353.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.009592, allocations: 3.984 kB / 353.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.009597, allocations: 4 kB / 353.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.009689, allocations: 179.1 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00969, allocations: 0 / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000285/0.009974, allocations: 23.98 kB / 353.6 MB, free: 3.203 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.001075/0.01105, allocations: 369 kB / 354 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.01118, allocations: 39.61 kB / 354 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01118, allocations: 0 / 354 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.0112, allocations: 19.67 kB / 354 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.01155, allocations: 29.17 kB / 354 MB, free: 2.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.01207, allocations: 214.5 kB / 354.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.01211, allocations: 71.34 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.377e-05/0.01215, allocations: 11.97 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.01219, allocations: 24.48 kB / 354.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01219, allocations: 0 / 354.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of Templates: time 0.003893/0.01609, allocations: 1.176 MB / 355.5 MB, free: 1.305 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.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.1054398119449615]