Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001252/0.001252, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001492/0.001492, allocations: 165.3 kB / 24.99 MB, free: 8.336 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.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2474/0.2474, allocations: 32.81 MB / 294.6 MB, free: 1.195 MB / 266.7 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 376 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.251e-05, allocations: 6.312 kB / 376 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002379/0.002411, allocations: 1.711 MB / 377.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007052/0.003117, allocations: 0.557 MB / 378.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.00317, allocations: 0 / 378.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.003612, allocations: 451 kB / 378.7 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.003957, allocations: 303.1 kB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.004171, allocations: 131.6 kB / 379.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.004364, allocations: 175.6 kB / 379.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.004458, allocations: 20.16 kB / 379.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.004563, allocations: 123.8 kB / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.004748, allocations: 247.6 kB / 379.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.004765, allocations: 4 kB / 379.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.004845, allocations: 51.91 kB / 379.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.004932, allocations: 83.72 kB / 379.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.004975, allocations: 43.72 kB / 379.9 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.005199, allocations: 211 kB / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.005202, allocations: 0 / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005202, allocations: 0 / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.005207, allocations: 4 kB / 380.1 MB, free: 0.8438 MB / 346.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.0006242/0.005832, allocations: 0.7009 MB / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.005877, allocations: 12.03 kB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.267e-05/0.00596, allocations: 44.66 kB / 380.9 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.006198, allocations: 260.9 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.006208, allocations: 384 / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.006232, allocations: 4.375 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.006369, allocations: 62.94 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.006379, allocations: 4.172 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.006391, allocations: 12.12 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.006398, allocations: 4 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.814e-05/0.006436, allocations: 11.94 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.006856, allocations: 439.6 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.007022, allocations: 55.06 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.007051, allocations: 15.62 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.00707, allocations: 0 / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.007091, allocations: 37.39 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.007092, allocations: 0 / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006386/0.00773, allocations: 332.9 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.007762, allocations: 55.41 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.008155, allocations: 0.6355 MB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.008167, allocations: 25.7 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.008313, allocations: 278.8 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.008344, allocations: 47.58 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.008377, allocations: 27.38 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.008532, allocations: 0.5625 MB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.00856, allocations: 15.98 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/0.008583, allocations: 8 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.008644, allocations: 51.61 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.008645, allocations: 4 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001153/0.008761, allocations: 117.4 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.008774, allocations: 9.875 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.008779, allocations: 0 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.008792, allocations: 0 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.008857, allocations: 27.92 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.008864, allocations: 0 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.008897, allocations: 11.98 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.008904, allocations: 4 kB / 383.9 MB, free: 12.79 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 8.39e-05/0.008988, allocations: 160.5 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.009028, allocations: 51.67 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.009223, allocations: 145.3 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.009226, allocations: 4 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.00923, allocations: 0 / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.009234, allocations: 0 / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.009646, allocations: 0.5434 MB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.009647, allocations: 0 / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.009698, allocations: 23.98 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.009701, allocations: 0 / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.009711, allocations: 4 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.009713, allocations: 3.938 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009715, allocations: 0 / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.009882, allocations: 302.8 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.009909, allocations: 35.91 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.009928, allocations: 4 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.009978, allocations: 16 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.01001, allocations: 11.97 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.01002, allocations: 4 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002548/0.01027, allocations: 430.8 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01027, allocations: 0 / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.01045, allocations: 31.98 kB / 385.7 MB, free: 10.95 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.0009052/0.01136, allocations: 431.7 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.01149, allocations: 67.53 kB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01149, allocations: 4 kB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.01153, allocations: 35.61 kB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.01179, allocations: 33.95 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.01249, allocations: 0.631 MB / 386.9 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.36e-05/0.01257, allocations: 123.2 kB / 387 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.01261, allocations: 20.47 kB / 387 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.01264, allocations: 16.5 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01264, allocations: 0 / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of Templates: time 0.004184/0.01683, allocations: 1.77 MB / 388.8 MB, free: 7.949 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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.1564680028241128]