Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001974/0.001974, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002633/0.002633, allocations: 161.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.491/1.491, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3962/0.3962, 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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.646e-05/3.826e-05, allocations: 2.312 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003195/0.003233, allocations: 1.61 MB / 376.9 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.004412, allocations: 0.522 MB / 377.4 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.004461, allocations: 0 / 377.4 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.004682, allocations: 27.8 kB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.004999, allocations: 83.55 kB / 377.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.005283, allocations: 95.62 kB / 377.6 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.005447, allocations: 67.78 kB / 377.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.139e-05/0.005539, allocations: 7.984 kB / 377.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.00561, allocations: 27.92 kB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.005668, allocations: 15.97 kB / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.005687, allocations: 4 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.005768, allocations: 31.92 kB / 377.8 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.005829, allocations: 12 kB / 377.8 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.005873, allocations: 23.91 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.006308, allocations: 87.55 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.006311, allocations: 0 / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006311, allocations: 0 / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.006315, allocations: 0 / 377.9 MB, free: 2.352 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005427/0.006858, allocations: 317.8 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.006896, allocations: 12.02 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.00695, allocations: 12.89 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.007146, allocations: 130.2 kB / 378.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.007156, allocations: 4.375 kB / 378.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.007179, allocations: 8.312 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.007328, allocations: 54 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.00734, allocations: 0 / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.007356, allocations: 3.984 kB / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.007361, allocations: 0 / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.007464, allocations: 23.98 kB / 378.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.007863, allocations: 220.5 kB / 378.6 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.008118, allocations: 50.44 kB / 378.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.008174, allocations: 12.94 kB / 378.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.008195, allocations: 4 kB / 378.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.008227, allocations: 38.56 kB / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.008228, allocations: 0 / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000631/0.008859, allocations: 137.4 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.00891, allocations: 55.41 kB / 378.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.009153, allocations: 174.5 kB / 379.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.009176, allocations: 25.7 kB / 379.1 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.009261, allocations: 108 kB / 379.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.009289, allocations: 19.83 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.009332, allocations: 17.72 kB / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.009527, allocations: 326.8 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.422e-05/0.009611, allocations: 15.98 kB / 379.6 MB, free: 456 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.009676, allocations: 19.98 kB / 379.6 MB, free: 436 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.009818, allocations: 48.77 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.009818, allocations: 0 / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001992/0.01002, allocations: 85.88 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.01003, allocations: 4 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01004, allocations: 0 / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.01006, allocations: 4 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.01013, allocations: 15.98 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.01013, allocations: 0 / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.01017, allocations: 4 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.01018, allocations: 0 / 379.8 MB, free: 264 kB / 346.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 0.0001175/0.0103, allocations: 133.7 kB / 379.9 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.01034, allocations: 15.91 kB / 379.9 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.01059, allocations: 86.12 kB / 380 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.0106, allocations: 4 kB / 380 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.0106, allocations: 0 / 380 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.0106, allocations: 0 / 380 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.01108, allocations: 298.1 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01108, allocations: 288 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.01114, allocations: 20 kB / 380.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01114, allocations: 0 / 380.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.01115, allocations: 0 / 380.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01115, allocations: 0 / 380.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.01116, allocations: 3.984 kB / 380.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.01146, allocations: 183.4 kB / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.01148, allocations: 11.89 kB / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.01149, allocations: 0 / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.01157, allocations: 7.984 kB / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.0116, allocations: 4 kB / 380.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.01161, allocations: 4.188 kB / 380.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.01175, allocations: 143.2 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01175, allocations: 3.938 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.012, allocations: 19.94 kB / 380.7 MB, free: 15.28 MB / 362.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.001944/0.01395, allocations: 423.2 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.01413, allocations: 43.97 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01413, allocations: 4 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.939e-05/0.01421, allocations: 27.92 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.01456, allocations: 15.98 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.01503, allocations: 204.6 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.01513, allocations: 83.31 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.01518, allocations: 19.97 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.01521, allocations: 12.5 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01521, allocations: 0 / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Templates: time 0.004097/0.01931, allocations: 1.164 MB / 382.7 MB, free: 13.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.916831554961391]