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.001718/0.001718, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001698/0.001698, allocations: 165.8 kB / 24.84 MB, free: 9.297 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.996/0.996, allocations: 158.6 MB / 186.7 MB, free: 2.754 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.1524/0.1524, allocations: 32.37 MB / 271.5 MB, free: 14.52 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.422e-06/1.422e-06, allocations: 0 / 348.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.092e-05, allocations: 8.219 kB / 348.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002372/0.002403, allocations: 1.607 MB / 350.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.003375, allocations: 1.052 MB / 351.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.003446, allocations: 0 / 351.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.00375, allocations: 27.78 kB / 351.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.003976, allocations: 51.7 kB / 351.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.004213, allocations: 67.78 kB / 351.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.004372, allocations: 75.7 kB / 351.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.004479, allocations: 16.17 kB / 351.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.765e-05/0.004537, allocations: 27.92 kB / 351.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.004635, allocations: 27.95 kB / 351.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.004653, allocations: 4 kB / 351.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.004754, allocations: 55.84 kB / 351.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.004796, allocations: 8 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.004822, allocations: 19.92 kB / 352 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.004985, allocations: 87.66 kB / 352 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004987, allocations: 0 / 352 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.004989, allocations: 0 / 352 MB, free: 6.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.004995, allocations: 0 / 352 MB, free: 6.008 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.0003629/0.005358, allocations: 416.1 kB / 352.4 MB, free: 5.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.005396, allocations: 12.03 kB / 352.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.005433, allocations: 12.89 kB / 352.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.005559, allocations: 132.5 kB / 352.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.005569, allocations: 4.375 kB / 352.6 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.005589, allocations: 4.375 kB / 352.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.005706, allocations: 112 kB / 352.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.005714, allocations: 192 / 352.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.005723, allocations: 3.938 kB / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.005727, allocations: 0 / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.617e-05/0.005754, allocations: 11.98 kB / 352.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.00597, allocations: 268.3 kB / 353 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.676e-05/0.006027, allocations: 50.98 kB / 353 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.006043, allocations: 11.69 kB / 353.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.00607, allocations: 7.922 kB / 353.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.006093, allocations: 41.38 kB / 353.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.006094, allocations: 0 / 353.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003191/0.006413, allocations: 117.6 kB / 353.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.006443, allocations: 77.11 kB / 353.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.006523, allocations: 192.1 kB / 353.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.006531, allocations: 33.69 kB / 353.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.006565, allocations: 134.9 kB / 353.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.006589, allocations: 35.72 kB / 353.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.006617, allocations: 27.38 kB / 353.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.039e-05/0.006678, allocations: 0.4923 MB / 354.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.006691, allocations: 7.938 kB / 354.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.006724, allocations: 60.98 kB / 354.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.006758, allocations: 27.69 kB / 354.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.006759, allocations: 3.938 kB / 354.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.497e-05/0.006844, allocations: 69.62 kB / 354.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.006859, allocations: 8 kB / 354.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.006865, allocations: 0 / 354.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.006875, allocations: 4.031 kB / 354.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/0.006945, allocations: 19.92 kB / 354.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.006949, allocations: 0 / 354.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.006969, allocations: 4 kB / 354.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.006974, allocations: 0 / 354.4 MB, free: 3.41 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 6.381e-05/0.007037, allocations: 164.5 kB / 354.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.007059, allocations: 11.94 kB / 354.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/0.007159, allocations: 78.48 kB / 354.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.007162, allocations: 0 / 354.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.007164, allocations: 0 / 354.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.007167, allocations: 4 kB / 354.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.007377, allocations: 326.3 kB / 355 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007378, allocations: 0 / 355 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.007418, allocations: 15.98 kB / 355 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.00742, allocations: 4 kB / 355 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.007426, allocations: 0 / 355 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007427, allocations: 0 / 355 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.007429, allocations: 3.938 kB / 355 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.64e-05/0.007526, allocations: 227.8 kB / 355.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.007534, allocations: 7.984 kB / 355.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.007546, allocations: 4 kB / 355.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.148e-05/0.007577, allocations: 4 kB / 355.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.007612, allocations: 7.984 kB / 355.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.007617, allocations: 4 kB / 355.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.772e-05/0.007655, allocations: 139.2 kB / 355.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.007655, allocations: 3.938 kB / 355.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.007839, allocations: 27.94 kB / 355.4 MB, free: 2.332 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.0009724/0.008812, allocations: 424.5 kB / 355.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.008918, allocations: 39.61 kB / 355.9 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.008921, allocations: 0 / 355.9 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.008945, allocations: 31.61 kB / 355.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.009159, allocations: 27.83 kB / 355.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.009451, allocations: 178.4 kB / 356.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.895e-05/0.00948, allocations: 63.34 kB / 356.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.469e-05/0.009525, allocations: 21.02 kB / 356.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.009581, allocations: 86.19 kB / 356.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.009582, allocations: 4 kB / 356.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of Templates: time 0.00327/0.01285, allocations: 1.668 MB / 357.9 MB, free: 15.85 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.294378300663084]