Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001134/0.001134, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001085/0.001085, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.977/0.977, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1585/0.1585, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.857e-05, allocations: 12.22 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.00231/0.002338, allocations: 1.603 MB / 349.7 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003341, allocations: 1.052 MB / 350.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.003402, allocations: 0 / 350.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.003622, allocations: 35.72 kB / 350.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.0038, allocations: 51.7 kB / 350.9 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.003971, allocations: 67.78 kB / 350.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.004077, allocations: 67.81 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.00416, allocations: 16.19 kB / 351 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.004215, allocations: 47.77 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.004296, allocations: 15.98 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.004313, allocations: 4 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.004396, allocations: 47.91 kB / 351.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.00443, allocations: 15.92 kB / 351.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.004449, allocations: 11.94 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.004607, allocations: 91.72 kB / 351.3 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004609, allocations: 0 / 351.3 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00461, allocations: 0 / 351.3 MB, free: 6.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.125e-06/0.004613, allocations: 0 / 351.3 MB, free: 6.027 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002876/0.004901, allocations: 424 kB / 351.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.004937, allocations: 8.031 kB / 351.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.00497, allocations: 8.891 kB / 351.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.005075, allocations: 139.3 kB / 351.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.005084, allocations: 384 / 351.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.005103, allocations: 8.375 kB / 351.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.005213, allocations: 112 kB / 351.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.005221, allocations: 4.172 kB / 351.9 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.005228, allocations: 3.938 kB / 351.9 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005234, allocations: 4 kB / 351.9 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.757e-05/0.005262, allocations: 7.984 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.005473, allocations: 264.4 kB / 352.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.001e-05/0.005523, allocations: 50.97 kB / 352.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.005539, allocations: 15.81 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.005564, allocations: 7.938 kB / 352.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.005581, allocations: 33.39 kB / 352.3 MB, free: 4.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.005582, allocations: 4 kB / 352.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002904/0.005873, allocations: 121.5 kB / 352.4 MB, free: 4.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.005893, allocations: 77.11 kB / 352.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.005966, allocations: 196.1 kB / 352.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.005971, allocations: 25.7 kB / 352.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.005999, allocations: 142.8 kB / 352.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.006018, allocations: 27.75 kB / 352.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.006044, allocations: 19.38 kB / 352.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.366e-05/0.006087, allocations: 0.4962 MB / 353.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.006099, allocations: 4 kB / 353.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.006125, allocations: 65.05 kB / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.815e-05/0.006154, allocations: 31.61 kB / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006155, allocations: 3.938 kB / 353.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.61e-05/0.006221, allocations: 69.62 kB / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.006233, allocations: 7.938 kB / 353.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006237, allocations: 0 / 353.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.006246, allocations: 0 / 353.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.006303, allocations: 16 kB / 353.6 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-06/0.006306, allocations: 0 / 353.6 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.006324, allocations: 7.922 kB / 353.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.006329, allocations: 8 kB / 353.6 MB, free: 3.422 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 (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 4.482e-05/0.006373, allocations: 160.5 kB / 353.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.00639, allocations: 11.95 kB / 353.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.69e-05/0.006477, allocations: 78.11 kB / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006479, allocations: 0 / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.00648, allocations: 0 / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.006483, allocations: 0 / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.006673, allocations: 325.9 kB / 354.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006674, allocations: 384 / 354.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.006708, allocations: 12 kB / 354.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.00671, allocations: 0 / 354.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.006716, allocations: 16 kB / 354.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.006718, allocations: 4.453 kB / 354.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006719, allocations: 0 / 354.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.015e-05/0.006799, allocations: 227.7 kB / 354.4 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.006805, allocations: 4 kB / 354.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.006816, allocations: 0 / 354.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.041e-05/0.006847, allocations: 8 kB / 354.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.006878, allocations: 3.984 kB / 354.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.006883, allocations: 4 kB / 354.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.554e-05/0.006919, allocations: 143.1 kB / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006919, allocations: 4 kB / 354.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001671/0.007086, allocations: 23.94 kB / 354.6 MB, free: 2.352 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 (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.0007934/0.007879, allocations: 428.8 kB / 355 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.45e-05/0.007974, allocations: 39.61 kB / 355.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.007976, allocations: 0 / 355.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.007997, allocations: 23.67 kB / 355.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.0082, allocations: 31.81 kB / 355.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.00848, allocations: 178.3 kB / 355.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.669e-05/0.008507, allocations: 63.34 kB / 355.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.183e-05/0.008548, allocations: 21.02 kB / 355.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.667e-05/0.008645, allocations: 90.19 kB / 355.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008646, allocations: 0 / 355.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of Templates: time 0.002884/0.01153, allocations: 1.659 MB / 357.1 MB, free: 15.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.310540079139173]