Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001447/0.001447, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001149/0.001149, allocations: 174 kB / 24.82 MB, free: 9.305 MB / 18.57 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3337/0.3337, allocations: 34.27 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.11e-05/5.397e-05, allocations: 2.312 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.004644/0.004698, allocations: 1.717 MB / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.005714, allocations: 0.5608 MB / 380.8 MB, free: 52 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.005805, allocations: 4 kB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.006388, allocations: 466.9 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004396/0.006828, allocations: 299.1 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.007191, allocations: 171.6 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.007405, allocations: 187.5 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.007524, allocations: 20.2 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.007644, allocations: 119.8 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.007851, allocations: 247.6 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.007872, allocations: 4 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.00797, allocations: 55.86 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.008065, allocations: 87.7 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.00811, allocations: 47.67 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.008351, allocations: 207.1 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.008358, allocations: 0 / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.008361, allocations: 0 / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.008368, allocations: 4 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006411/0.009009, allocations: 0.7125 MB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.009055, allocations: 15.91 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.009113, allocations: 52.61 kB / 383.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.009301, allocations: 248.8 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.009313, allocations: 4.375 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.009334, allocations: 4.375 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.009454, allocations: 62.94 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.009466, allocations: 192 / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.009475, allocations: 8.125 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.009484, allocations: 7.938 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.009512, allocations: 11.98 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.009886, allocations: 348.2 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.01008, allocations: 51.08 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.0101, allocations: 15.67 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.01013, allocations: 3.938 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.01016, allocations: 41.52 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.01016, allocations: 0 / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006809/0.01084, allocations: 261.4 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.01088, allocations: 55.41 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.01129, allocations: 0.6039 MB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.01131, allocations: 29.7 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.01146, allocations: 298.7 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.01149, allocations: 39.69 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.01153, allocations: 39.28 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.0117, allocations: 0.5624 MB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.01172, allocations: 8 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.01174, allocations: 15.98 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.191e-05/0.01181, allocations: 40 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01181, allocations: 0 / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001258/0.01193, allocations: 137.2 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.01195, allocations: 4 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01196, allocations: 0 / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01197, allocations: 0 / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/0.01204, allocations: 23.98 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.01205, allocations: 0 / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.01208, allocations: 11.98 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.01208, allocations: 4 kB / 386.4 MB, free: 10.28 MB / 362.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 (11): * Single equations (assignments): 11 * 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 9.338e-05/0.01218, allocations: 160.5 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.01221, allocations: 47.72 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.01239, allocations: 125.5 kB / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01239, allocations: 0 / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01239, allocations: 3.984 kB / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.0124, allocations: 0 / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.01281, allocations: 477 kB / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01281, allocations: 0 / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/0.01286, allocations: 23.98 kB / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01287, allocations: 3.984 kB / 387.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.01288, allocations: 8 kB / 387.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01288, allocations: 0 / 387.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01288, allocations: 0 / 387.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.01305, allocations: 290.9 kB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.01308, allocations: 39.67 kB / 387.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.0131, allocations: 3.984 kB / 387.5 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.593e-05/0.01314, allocations: 12.25 kB / 387.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.01318, allocations: 11.92 kB / 387.5 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01319, allocations: 8 kB / 387.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002243/0.01342, allocations: 394.7 kB / 387.9 MB, free: 8.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01342, allocations: 3.938 kB / 387.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.01359, allocations: 31.94 kB / 388 MB, free: 8.578 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009584/0.01455, allocations: 442.6 kB / 388.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.01467, allocations: 51.59 kB / 388.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01467, allocations: 4 kB / 388.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.01471, allocations: 39.61 kB / 388.5 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.01498, allocations: 34.45 kB / 388.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.01568, allocations: 0.6429 MB / 389.2 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9e-05/0.01577, allocations: 123.2 kB / 389.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.01582, allocations: 24.47 kB / 389.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.01589, allocations: 78.2 kB / 389.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01589, allocations: 4 kB / 389.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of Templates: time 0.004551/0.02044, allocations: 1.985 MB / 391.4 MB, free: 5.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.5073700873181224]