Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001641/0.001641, allocations: 84.84 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001755/0.001755, allocations: 165.1 kB / 23.96 MB, free: 4.164 MB / 14.72 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.416/1.416, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 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.1982/0.1982, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.933e-05, allocations: 2.281 kB / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003265/0.003294, allocations: 1.61 MB / 441.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.00457, allocations: 0.5259 MB / 442.2 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.523e-05/0.004656, allocations: 0 / 442.2 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.004961, allocations: 75.64 kB / 442.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.005354, allocations: 111.5 kB / 442.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.005674, allocations: 91.69 kB / 442.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.005894, allocations: 87.73 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.006, allocations: 12 kB / 442.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.641e-05/0.006097, allocations: 39.89 kB / 442.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.006217, allocations: 55.88 kB / 442.7 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.006238, allocations: 4 kB / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.006355, allocations: 47.91 kB / 442.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.006421, allocations: 23.92 kB / 442.8 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.006458, allocations: 15.88 kB / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.006705, allocations: 111.6 kB / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006708, allocations: 0 / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006709, allocations: 0 / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.006718, allocations: 0 / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007103/0.007429, allocations: 341.6 kB / 443.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.00747, allocations: 8.031 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.00752, allocations: 16.84 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.007741, allocations: 138.3 kB / 443.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.007748, allocations: 384 / 443.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.007775, allocations: 16.25 kB / 443.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.007939, allocations: 62.16 kB / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.007955, allocations: 192 / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.007968, allocations: 4.125 kB / 443.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.007974, allocations: 0 / 443.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.008077, allocations: 27.97 kB / 443.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.008557, allocations: 236.5 kB / 443.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.008677, allocations: 46.5 kB / 443.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.008742, allocations: 24.88 kB / 443.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.008766, allocations: 0 / 443.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.008798, allocations: 34.56 kB / 443.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.008799, allocations: 0 / 443.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009937/0.009793, allocations: 221.2 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.009842, allocations: 59.39 kB / 444.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.0101, allocations: 214.3 kB / 444.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.01012, allocations: 29.7 kB / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.01021, allocations: 108.1 kB / 444.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.01025, allocations: 19.8 kB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.0103, allocations: 25.7 kB / 444.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.01049, allocations: 326.8 kB / 444.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.01058, allocations: 23.98 kB / 444.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.01066, allocations: 35.98 kB / 444.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.01083, allocations: 60.83 kB / 444.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.01083, allocations: 0 / 444.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002354/0.01106, allocations: 101.6 kB / 445 MB, free: 3.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.01108, allocations: 4 kB / 445 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01109, allocations: 0 / 445 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.01111, allocations: 4 kB / 445.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.01122, allocations: 15.98 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.01122, allocations: 0 / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.01129, allocations: 15.94 kB / 445.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.0113, allocations: 4 kB / 445.1 MB, free: 2.984 MB / 366.1 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 0.0001415/0.01144, allocations: 130.4 kB / 445.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.01149, allocations: 16.33 kB / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.01183, allocations: 119.4 kB / 445.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01183, allocations: 0 / 445.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.01184, allocations: 3.984 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01185, allocations: 0 / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.01245, allocations: 346.9 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01245, allocations: 0 / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.295e-05/0.01253, allocations: 27.92 kB / 445.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.01254, allocations: 0 / 445.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01255, allocations: 3.938 kB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01255, allocations: 0 / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.01256, allocations: 4 kB / 445.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.01289, allocations: 212.2 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.01291, allocations: 11.95 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.01293, allocations: 0 / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.01301, allocations: 7.984 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.01307, allocations: 19.86 kB / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.01308, allocations: 0 / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.01325, allocations: 160.2 kB / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01325, allocations: 0 / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.01354, allocations: 23.94 kB / 446.1 MB, free: 1.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002004/0.01555, allocations: 482.1 kB / 446.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.01582, allocations: 63.94 kB / 446.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01582, allocations: 3.938 kB / 446.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.745e-05/0.01592, allocations: 35.98 kB / 446.7 MB, free: 1.477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.01624, allocations: 18.98 kB / 446.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.01683, allocations: 265.9 kB / 447 MB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.01694, allocations: 100.7 kB / 447.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.693e-05/0.017, allocations: 17.09 kB / 447.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.01704, allocations: 16.48 kB / 447.1 MB, free: 1.023 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01704, allocations: 0 / 447.1 MB, free: 1.023 MB / 366.1 MB Notification: Performance of Templates: time 0.1697/0.1868, allocations: 1.354 MB / 448.5 MB, free: 21.26 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.532644893974066]