Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001401/0.001401, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001486/0.001486, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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.493/1.493, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3524/0.3524, allocations: 32.79 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.883e-05, allocations: 5.547 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003462/0.003491, allocations: 1.619 MB / 376.9 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.004755, allocations: 0.5337 MB / 377.4 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.689e-05/0.004841, allocations: 3.938 kB / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.005225, allocations: 107.6 kB / 377.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.00564, allocations: 119.5 kB / 377.7 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.00603, allocations: 115.7 kB / 377.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.006257, allocations: 95.67 kB / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.006372, allocations: 15.92 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.006512, allocations: 51.88 kB / 377.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.006663, allocations: 67.86 kB / 378 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.006685, allocations: 4 kB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.006796, allocations: 43.92 kB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.006869, allocations: 23.92 kB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.006913, allocations: 19.86 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.007159, allocations: 111.6 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.007162, allocations: 4 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007163, allocations: 0 / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.007168, allocations: 0 / 378.2 MB, free: 2.02 MB / 346.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.0007628/0.007931, allocations: 357.4 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.007988, allocations: 8.031 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.008092, allocations: 20.84 kB / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.0084, allocations: 154.3 kB / 378.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.008413, allocations: 384 / 378.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.008445, allocations: 4.375 kB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.008635, allocations: 58.17 kB / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.008647, allocations: 4.188 kB / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.008662, allocations: 8.125 kB / 378.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.008667, allocations: 0 / 378.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.008775, allocations: 23.98 kB / 378.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.009242, allocations: 248.5 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.009387, allocations: 46.48 kB / 379.1 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.745e-05/0.009455, allocations: 24.88 kB / 379.1 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.009479, allocations: 0 / 379.1 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.009516, allocations: 38.56 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.009518, allocations: 0 / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001172/0.01069, allocations: 241.2 kB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.01074, allocations: 51.48 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.01104, allocations: 263.6 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.01107, allocations: 29.7 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.01116, allocations: 112.1 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.0112, allocations: 27.75 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.01127, allocations: 21.7 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.01148, allocations: 334.7 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.885e-05/0.01158, allocations: 31.98 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.01167, allocations: 27.97 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.01186, allocations: 80.97 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01186, allocations: 4 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002722/0.01213, allocations: 117.6 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01214, allocations: 4 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01215, allocations: 0 / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.01217, allocations: 0 / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.01228, allocations: 23.92 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01229, allocations: 0 / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.01233, allocations: 4 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01234, allocations: 4 kB / 380.5 MB, free: 15.52 MB / 362.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 0.0001316/0.01248, allocations: 137.8 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.01253, allocations: 23.89 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.01286, allocations: 127.1 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.01286, allocations: 0 / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.01287, allocations: 4 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01287, allocations: 0 / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/0.01351, allocations: 378.8 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01351, allocations: 0 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/0.01359, allocations: 15.98 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01359, allocations: 4 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.0136, allocations: 0 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.0136, allocations: 0 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.0136, allocations: 4 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.01395, allocations: 220.2 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.01397, allocations: 11.91 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.01399, allocations: 12.02 kB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.01408, allocations: 4 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.01413, allocations: 11.92 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.01413, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.01435, allocations: 191.2 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01435, allocations: 0 / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.01462, allocations: 19.94 kB / 381.7 MB, free: 14.3 MB / 362.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.002315/0.01694, allocations: 497 kB / 382.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.01721, allocations: 71.89 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01722, allocations: 0 / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01733, allocations: 35.97 kB / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.01776, allocations: 28.05 kB / 382.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.01848, allocations: 312.7 kB / 382.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.01861, allocations: 101.8 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.11e-05/0.0187, allocations: 16.72 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.01877, allocations: 28.47 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01877, allocations: 0 / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Templates: time 0.005676/0.02445, allocations: 1.405 MB / 384.1 MB, free: 12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.719447815907188]