Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001732/0.001732, allocations: 84.3 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.002113/0.002113, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.435/1.435, allocations: 177.1 MB / 204.3 MB, free: 9.195 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.206/0.206, allocations: 32.81 MB / 293.5 MB, free: 52 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.CombiTable1Dv.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.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.397e-05, allocations: 2.281 kB / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002811/0.002835, allocations: 1.603 MB / 441.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003898, allocations: 0.5298 MB / 442.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.00395, allocations: 4 kB / 442.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.004213, allocations: 83.69 kB / 442.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.004529, allocations: 111.5 kB / 442.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.004859, allocations: 114.6 kB / 442.6 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.005027, allocations: 83.81 kB / 442.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.005114, allocations: 7.984 kB / 442.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.327e-05/0.005207, allocations: 47.89 kB / 442.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.005325, allocations: 55.88 kB / 442.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.005342, allocations: 4 kB / 442.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.005442, allocations: 47.86 kB / 442.8 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.005501, allocations: 27.91 kB / 442.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.005534, allocations: 15.88 kB / 442.8 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.005738, allocations: 107.6 kB / 442.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005741, allocations: 0 / 442.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005742, allocations: 0 / 442.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.005745, allocations: 0 / 442.9 MB, free: 5.316 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.000468/0.006213, allocations: 337.6 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.006256, allocations: 8.031 kB / 443.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.006302, allocations: 20.84 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.006498, allocations: 146.2 kB / 443.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.006507, allocations: 4.312 kB / 443.4 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.00653, allocations: 8.359 kB / 443.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.006672, allocations: 58.17 kB / 443.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.006682, allocations: 192 / 443.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.006694, allocations: 4.125 kB / 443.5 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.006702, allocations: 4 kB / 443.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.852e-05/0.006801, allocations: 23.97 kB / 443.5 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.007193, allocations: 248.4 kB / 443.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.007306, allocations: 46.55 kB / 443.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.00736, allocations: 20.8 kB / 443.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.007379, allocations: 0 / 443.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.007412, allocations: 42.64 kB / 443.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.007413, allocations: 0 / 443.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000898/0.008311, allocations: 241.7 kB / 444.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.008353, allocations: 51.41 kB / 444.2 MB, free: 3.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.008573, allocations: 214.3 kB / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.008599, allocations: 29.7 kB / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.008669, allocations: 112 kB / 444.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.008698, allocations: 19.8 kB / 444.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.008744, allocations: 29.7 kB / 444.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.008899, allocations: 326.8 kB / 444.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.934e-05/0.008988, allocations: 31.98 kB / 444.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.009064, allocations: 27.97 kB / 445 MB, free: 3.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.00924, allocations: 72.81 kB / 445 MB, free: 3.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.009241, allocations: 0 / 445 MB, free: 3.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002509/0.009492, allocations: 117.5 kB / 445.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.009505, allocations: 4 kB / 445.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.009511, allocations: 4 kB / 445.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.009524, allocations: 4 kB / 445.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.009625, allocations: 19.92 kB / 445.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.00963, allocations: 0 / 445.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.009675, allocations: 4 kB / 445.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.009685, allocations: 7.938 kB / 445.2 MB, free: 2.898 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.0001112/0.009796, allocations: 134.4 kB / 445.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.009844, allocations: 15.89 kB / 445.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.01017, allocations: 131.4 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01017, allocations: 4 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01018, allocations: 0 / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01018, allocations: 3.938 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.01073, allocations: 362.9 kB / 445.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01073, allocations: 0 / 445.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.222e-05/0.0108, allocations: 15.98 kB / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.01081, allocations: 4 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.01082, allocations: 0 / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01082, allocations: 7.969 kB / 445.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01082, allocations: 0 / 445.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.01113, allocations: 224.1 kB / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.01115, allocations: 11.95 kB / 446.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.01117, allocations: 0 / 446.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.01125, allocations: 8 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.01128, allocations: 11.92 kB / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.01129, allocations: 0 / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.01144, allocations: 160.2 kB / 446.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01144, allocations: 4 kB / 446.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.0117, allocations: 27.92 kB / 446.3 MB, free: 1.715 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.001779/0.01348, allocations: 485.6 kB / 446.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.01372, allocations: 75.89 kB / 446.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01372, allocations: 0 / 446.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.01384, allocations: 39.95 kB / 446.9 MB, free: 1.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.01414, allocations: 18.52 kB / 446.9 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.01468, allocations: 285.8 kB / 447.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.01478, allocations: 96.88 kB / 447.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.347e-05/0.01486, allocations: 21.02 kB / 447.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.0149, allocations: 20.48 kB / 447.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.0149, allocations: 0 / 447.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of Templates: time 0.1605/0.1754, allocations: 1.387 MB / 448.7 MB, free: 21.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.600837145000696]