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.001423/0.001423, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001099/0.001099, allocations: 165 kB / 23.8 MB, free: 0.7773 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.9044/0.9044, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1258/0.1258, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.493e-06/1.493e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.817e-05, allocations: 12.16 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.005592/0.00562, allocations: 1.615 MB / 349.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.006761, allocations: 1.056 MB / 350.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.006821, allocations: 4 kB / 350.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.007072, allocations: 27.8 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.007302, allocations: 47.7 kB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.007521, allocations: 71.77 kB / 350.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00319/0.01071, allocations: 63.78 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.01083, allocations: 20.17 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.0109, allocations: 35.91 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.01101, allocations: 23.91 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.01103, allocations: 4 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.01115, allocations: 51.91 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.0112, allocations: 11.94 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.01124, allocations: 19.91 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.01147, allocations: 87.67 kB / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01147, allocations: 0 / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01148, allocations: 0 / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.01148, allocations: 0 / 350.8 MB, free: 6.285 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.000436/0.01192, allocations: 420.1 kB / 351.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.01196, allocations: 8.031 kB / 351.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.01202, allocations: 8.891 kB / 351.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.01217, allocations: 136.5 kB / 351.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.01218, allocations: 384 / 351.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.01221, allocations: 8.375 kB / 351.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.01237, allocations: 104 kB / 351.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.01239, allocations: 4.125 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.0124, allocations: 7.938 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.01241, allocations: 0 / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.918e-05/0.01246, allocations: 15.98 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.01274, allocations: 291.6 kB / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.686e-05/0.01282, allocations: 50.98 kB / 351.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.01285, allocations: 19.81 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.01287, allocations: 7.984 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.01288, allocations: 33.39 kB / 351.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.01289, allocations: 0 / 351.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003911/0.01328, allocations: 125.4 kB / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.0133, allocations: 81.11 kB / 352.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003109/0.01641, allocations: 192.1 kB / 352.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.01642, allocations: 29.7 kB / 352.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.01646, allocations: 138.9 kB / 352.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.01648, allocations: 27.75 kB / 352.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.01652, allocations: 27.38 kB / 352.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.01657, allocations: 0.4961 MB / 353 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.01659, allocations: 15.98 kB / 353 MB, free: 3.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.01663, allocations: 49.08 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.385e-05/0.01668, allocations: 39.89 kB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01668, allocations: 384 / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001106/0.01679, allocations: 77.64 kB / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01681, allocations: 8 kB / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.01681, allocations: 0 / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.01683, allocations: 0 / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.01692, allocations: 16 kB / 353.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01693, allocations: 8.016 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.01695, allocations: 4 kB / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.01696, allocations: 4 kB / 353.2 MB, free: 3.629 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.883e-05/0.01701, allocations: 160.5 kB / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.01704, allocations: 11.95 kB / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.01718, allocations: 86.05 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01718, allocations: 0 / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.01718, allocations: 3.938 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01719, allocations: 3.984 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.01745, allocations: 349.3 kB / 353.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01745, allocations: 4 kB / 353.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.0175, allocations: 15.98 kB / 353.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.0175, allocations: 0 / 353.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.01751, allocations: 4 kB / 353.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01751, allocations: 0 / 353.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01751, allocations: 0 / 353.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.01762, allocations: 227.8 kB / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-06/0.01763, allocations: 3.953 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.01764, allocations: 4 kB / 354.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.01769, allocations: 0 / 354.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.01773, allocations: 19.92 kB / 354.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.01773, allocations: 0 / 354.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.232e-05/0.01778, allocations: 147.1 kB / 354.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01778, allocations: 0 / 354.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.01804, allocations: 27.92 kB / 354.3 MB, free: 2.508 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.001154/0.01919, allocations: 433.3 kB / 354.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.02232, allocations: 43.66 kB / 354.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02232, allocations: 0 / 354.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.02235, allocations: 31.61 kB / 354.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.02262, allocations: 31.86 kB / 354.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.02291, allocations: 170.4 kB / 355 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.625e-05/0.02294, allocations: 63.34 kB / 355 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.307e-05/0.02298, allocations: 17.02 kB / 355 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.02301, allocations: 16.5 kB / 355.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02301, allocations: 0 / 355.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of Templates: time 0.006627/0.02964, allocations: 1.631 MB / 356.7 MB, free: 128 kB / 282.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.2486745133064687]