Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001682/0.001682, allocations: 81.95 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.002117/0.002117, allocations: 164.4 kB / 24.84 MB, free: 8.914 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 1.037/1.037, allocations: 158.6 MB / 186.7 MB, free: 2.812 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.182/0.182, allocations: 32.37 MB / 271.5 MB, free: 2.445 MB / 250.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 348.9 MB, free: 4.805 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.701e-05/3.915e-05, allocations: 6.25 kB / 348.9 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003859/0.003899, allocations: 1.589 MB / 350.5 MB, free: 3.195 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.004685, allocations: 315.4 kB / 350.8 MB, free: 2.883 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.004764, allocations: 0 / 350.8 MB, free: 2.883 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.005085, allocations: 31.78 kB / 350.9 MB, free: 2.852 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.005351, allocations: 43.78 kB / 350.9 MB, free: 2.809 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.005676, allocations: 71.77 kB / 351 MB, free: 2.738 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.005864, allocations: 51.84 kB / 351 MB, free: 2.688 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.005997, allocations: 8.344 kB / 351 MB, free: 2.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.454e-05/0.006081, allocations: 39.83 kB / 351.1 MB, free: 2.641 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.006148, allocations: 7.984 kB / 351.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.006169, allocations: 4 kB / 351.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.006258, allocations: 31.94 kB / 351.1 MB, free: 2.598 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.006319, allocations: 15.92 kB / 351.1 MB, free: 2.582 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.006354, allocations: 15.92 kB / 351.1 MB, free: 2.566 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.006544, allocations: 67.75 kB / 351.2 MB, free: 2.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.00655, allocations: 0 / 351.2 MB, free: 2.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.006551, allocations: 0 / 351.2 MB, free: 2.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.006556, allocations: 0 / 351.2 MB, free: 2.5 MB / 330.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.0005411/0.007097, allocations: 415.8 kB / 351.6 MB, free: 2.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.007147, allocations: 8.031 kB / 351.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.007201, allocations: 16.83 kB / 351.6 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.007416, allocations: 140.4 kB / 351.8 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.007429, allocations: 384 / 351.8 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.007452, allocations: 4.375 kB / 351.8 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.007583, allocations: 54.95 kB / 351.8 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.007595, allocations: 192 / 351.8 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.007605, allocations: 4.125 kB / 351.8 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.007614, allocations: 4 kB / 351.8 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.016e-05/0.007644, allocations: 7.984 kB / 351.8 MB, free: 1.789 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.007977, allocations: 248.4 kB / 352.1 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.008168, allocations: 39.05 kB / 352.1 MB, free: 1.469 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.008191, allocations: 11.69 kB / 352.1 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.00821, allocations: 0 / 352.1 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.008247, allocations: 41.33 kB / 352.2 MB, free: 1.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.008249, allocations: 4 kB / 352.2 MB, free: 1.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003744/0.008623, allocations: 89.88 kB / 352.3 MB, free: 1.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.008661, allocations: 51.41 kB / 352.3 MB, free: 1.242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.008806, allocations: 201.9 kB / 352.5 MB, free: 1.027 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.008821, allocations: 29.64 kB / 352.5 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.008893, allocations: 142.9 kB / 352.7 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.008933, allocations: 27.78 kB / 352.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.00898, allocations: 23.36 kB / 352.7 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.009144, allocations: 0.4923 MB / 353.2 MB, free: 292 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.009162, allocations: 4 kB / 353.2 MB, free: 288 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/0.009183, allocations: 8 kB / 353.2 MB, free: 280 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.634e-05/0.00923, allocations: 23.67 kB / 353.3 MB, free: 252 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.009231, allocations: 0 / 353.3 MB, free: 252 kB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001001/0.009331, allocations: 57.59 kB / 353.3 MB, free: 188 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.009347, allocations: 4 kB / 353.3 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.009354, allocations: 0 / 353.3 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.009368, allocations: 4.234 kB / 353.3 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.009433, allocations: 15.92 kB / 353.3 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.009438, allocations: 11.94 kB / 353.4 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.009462, allocations: 0 / 353.4 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.009467, allocations: 4 kB / 353.4 MB, free: 148 kB / 330.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.1935/0.2029, allocations: 156.6 kB / 353.5 MB, free: 65.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.203, allocations: 9.594 kB / 353.5 MB, free: 65.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.2032, allocations: 67.31 kB / 353.6 MB, free: 65.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2032, allocations: 0 / 353.6 MB, free: 65.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.2032, allocations: 0 / 353.6 MB, free: 65.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2032, allocations: 1.453 kB / 353.6 MB, free: 65.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.2035, allocations: 296.4 kB / 353.9 MB, free: 64.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2035, allocations: 0 / 353.9 MB, free: 64.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/0.2036, allocations: 10.97 kB / 353.9 MB, free: 64.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.2036, allocations: 3.375 kB / 353.9 MB, free: 64.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.2036, allocations: 2.312 kB / 353.9 MB, free: 64.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2036, allocations: 2.188 kB / 353.9 MB, free: 64.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2036, allocations: 0.5625 kB / 353.9 MB, free: 64.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.2037, allocations: 207.6 kB / 354.1 MB, free: 64.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.2037, allocations: 5.797 kB / 354.1 MB, free: 64.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.2037, allocations: 2.031 kB / 354.1 MB, free: 64.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.2037, allocations: 8.656 kB / 354.1 MB, free: 64.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.2038, allocations: 7.25 kB / 354.1 MB, free: 64.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.2038, allocations: 0 / 354.1 MB, free: 64.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.007e-05/0.2038, allocations: 149 kB / 354.3 MB, free: 64.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2038, allocations: 3.562 kB / 354.3 MB, free: 64.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.204, allocations: 16.92 kB / 354.3 MB, free: 64.55 MB / 330.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.0009766/0.205, allocations: 373.2 kB / 354.7 MB, free: 64.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.2051, allocations: 25.31 kB / 354.7 MB, free: 64.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2051, allocations: 0 / 354.7 MB, free: 64.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.2052, allocations: 25.09 kB / 354.7 MB, free: 64.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.2054, allocations: 18.61 kB / 354.7 MB, free: 64.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.2059, allocations: 170.3 kB / 354.9 MB, free: 64.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.024e-05/0.2059, allocations: 62.67 kB / 354.9 MB, free: 64.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.692e-05/0.206, allocations: 11.39 kB / 355 MB, free: 64.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.206, allocations: 78.05 kB / 355 MB, free: 64.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.206, allocations: 0.5625 kB / 355 MB, free: 64.14 MB / 330.7 MB Notification: Performance of Templates: time 0.004232/0.2103, allocations: 1.258 MB / 356.3 MB, free: 64.05 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.5200936337932944]