Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.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.001489/0.001489, allocations: 96.2 kB / 20.21 MB, free: 4.199 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.001665/0.001665, allocations: 157.7 kB / 23.51 MB, free: 0.8984 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 1.516/1.516, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2473/0.2473, allocations: 32.38 MB / 270 MB, free: 14.87 MB / 266.7 MB " [Timeout remaining time 179] 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.55e-05, allocations: 6.25 kB / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.002957/0.002992, allocations: 1.545 MB / 348.5 MB, free: 8.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.003745, allocations: 331.3 kB / 348.8 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.003824, allocations: 0 / 348.8 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.004146, allocations: 75.77 kB / 348.9 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.004393, allocations: 71.67 kB / 349 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.00474, allocations: 83.75 kB / 349 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.004922, allocations: 79.75 kB / 349.1 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.005034, allocations: 4 kB / 349.1 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.721e-05/0.005131, allocations: 43.89 kB / 349.2 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.005271, allocations: 51.92 kB / 349.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.005299, allocations: 4 kB / 349.2 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.005408, allocations: 27.94 kB / 349.3 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.183e-05/0.005489, allocations: 23.86 kB / 349.3 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.005533, allocations: 11.94 kB / 349.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.005749, allocations: 87.64 kB / 349.4 MB, free: 7.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005752, allocations: 0 / 349.4 MB, free: 7.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005753, allocations: 4 kB / 349.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.005759, allocations: 0 / 349.4 MB, free: 7.348 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.0006171/0.006376, allocations: 325.8 kB / 349.7 MB, free: 7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/0.006439, allocations: 8.031 kB / 349.7 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.295e-05/0.006522, allocations: 12.89 kB / 349.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.006715, allocations: 141.6 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.006728, allocations: 384 / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.006763, allocations: 384 / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.006926, allocations: 46.25 kB / 349.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.006941, allocations: 4.125 kB / 349.9 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.006958, allocations: 12.11 kB / 349.9 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.006964, allocations: 4 kB / 349.9 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.706e-05/0.007061, allocations: 27.97 kB / 349.9 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.00748, allocations: 224.6 kB / 350.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.007736, allocations: 46.5 kB / 350.2 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.007793, allocations: 28.88 kB / 350.2 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.007826, allocations: 3.938 kB / 350.2 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.007847, allocations: 30.56 kB / 350.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.007848, allocations: 0 / 350.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006532/0.008501, allocations: 165.3 kB / 350.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.008531, allocations: 51.41 kB / 350.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.008693, allocations: 200.5 kB / 350.7 MB, free: 5.906 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.008704, allocations: 25.7 kB / 350.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.008751, allocations: 104.1 kB / 350.8 MB, free: 5.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.008773, allocations: 15.84 kB / 350.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.008807, allocations: 17.72 kB / 350.8 MB, free: 5.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.008869, allocations: 322.8 kB / 351.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.796e-05/0.008937, allocations: 23.98 kB / 351.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.381e-05/0.00899, allocations: 23.97 kB / 351.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.009106, allocations: 52.83 kB / 351.3 MB, free: 5.305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.009106, allocations: 0 / 351.3 MB, free: 5.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001726/0.009279, allocations: 97.45 kB / 351.3 MB, free: 5.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.009294, allocations: 4 kB / 351.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.009299, allocations: 256 / 351.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.009321, allocations: 4 kB / 351.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.009384, allocations: 19.98 kB / 351.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.00939, allocations: 0 / 351.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.009432, allocations: 7.984 kB / 351.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.00944, allocations: 0 / 351.4 MB, free: 5.168 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.273e-05/0.009512, allocations: 125.8 kB / 351.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.009548, allocations: 11.89 kB / 351.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.009761, allocations: 102 kB / 351.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.009764, allocations: 4 kB / 351.6 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.009768, allocations: 0 / 351.6 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.009772, allocations: 0 / 351.6 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.01009, allocations: 302.2 kB / 351.9 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01009, allocations: 0 / 351.9 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.01015, allocations: 19.92 kB / 351.9 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01015, allocations: 0 / 351.9 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.01016, allocations: 0 / 351.9 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01016, allocations: 3.938 kB / 351.9 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01017, allocations: 0 / 351.9 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.01036, allocations: 199.4 kB / 352.1 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.01037, allocations: 7.953 kB / 352.1 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.01038, allocations: 0 / 352.1 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.01045, allocations: 4.188 kB / 352.1 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.0105, allocations: 3.984 kB / 352.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.0105, allocations: 4 kB / 352.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.603e-05/0.0106, allocations: 160.1 kB / 352.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0106, allocations: 0 / 352.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.01084, allocations: 12 kB / 352.3 MB, free: 4.16 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.001875/0.01272, allocations: 436.2 kB / 352.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.01292, allocations: 51.95 kB / 352.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.01292, allocations: 0 / 352.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.01299, allocations: 23.98 kB / 352.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.01341, allocations: 33.42 kB / 352.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.01385, allocations: 228.5 kB / 353.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.904e-05/0.01392, allocations: 85.11 kB / 353.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.332e-05/0.01399, allocations: 20.17 kB / 353.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.01404, allocations: 16.48 kB / 353.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01404, allocations: 0 / 353.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of Templates: time 0.004301/0.01834, allocations: 1.161 MB / 354.4 MB, free: 2.176 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.989511849009432]