Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0009212/0.0009212, allocations: 77.97 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.0009983/0.0009983, allocations: 166.7 kB / 24.82 MB, free: 9.273 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 0.9113/0.9113, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2317/0.2317, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.818e-05, allocations: 2.312 kB / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002443/0.002461, allocations: 1.696 MB / 378.2 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009329/0.003394, allocations: 0.5647 MB / 378.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.768e-05/0.003482, allocations: 7.938 kB / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.004059, allocations: 451.1 kB / 379.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004789/0.004538, allocations: 307.1 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.004929, allocations: 167.5 kB / 379.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.005183, allocations: 183.6 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.005294, allocations: 11.98 kB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.005419, allocations: 123.8 kB / 380 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.005632, allocations: 247.5 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.005652, allocations: 4 kB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.005736, allocations: 35.92 kB / 380.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.005828, allocations: 79.72 kB / 380.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.005868, allocations: 43.72 kB / 380.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.00623, allocations: 203.1 kB / 380.6 MB, free: 308 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.006234, allocations: 4 kB / 380.6 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.006235, allocations: 0 / 380.6 MB, free: 304 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.00624, allocations: 0 / 380.6 MB, free: 304 kB / 346.7 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.0005169/0.006757, allocations: 0.7087 MB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.006798, allocations: 12.03 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.006847, allocations: 44.66 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.00702, allocations: 244.9 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-06/0.007029, allocations: 384 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.007045, allocations: 4.375 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.00715, allocations: 66.92 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.007158, allocations: 8.031 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.007165, allocations: 4.125 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.007171, allocations: 3.984 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.007197, allocations: 11.98 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.007501, allocations: 344.2 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.007556, allocations: 39 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.007573, allocations: 15.77 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.007591, allocations: 0 / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.00761, allocations: 41.33 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.007611, allocations: 7.938 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003136/0.007924, allocations: 149.2 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.007945, allocations: 51.41 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.008285, allocations: 0.6079 MB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.008297, allocations: 25.7 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.008436, allocations: 302.7 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.008456, allocations: 23.78 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.008487, allocations: 23.38 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.008629, allocations: 0.5586 MB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.008645, allocations: 4 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.00866, allocations: 15.98 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.008699, allocations: 35.83 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.008699, allocations: 0 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.845e-05/0.008788, allocations: 101.3 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.008799, allocations: 8 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.008803, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.008813, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.008875, allocations: 19.98 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-06/0.008877, allocations: 0 / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.008905, allocations: 4 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.008912, allocations: 11.98 kB / 384 MB, free: 12.63 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 (7): * Single equations (assignments): 7 * 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.0003372/0.00925, allocations: 156.5 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.009288, allocations: 55.61 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.009434, allocations: 109.5 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.009436, allocations: 0 / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.009438, allocations: 0 / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.009441, allocations: 0 / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.009737, allocations: 397.8 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009738, allocations: 0 / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.00978, allocations: 19.98 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.009785, allocations: 4 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.009791, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.009792, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009793, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.009919, allocations: 259.4 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.009943, allocations: 35.72 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.009957, allocations: 0 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.01, allocations: 4 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.01003, allocations: 11.98 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.01003, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.01024, allocations: 402.7 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.01024, allocations: 0 / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.01041, allocations: 27.94 kB / 385.5 MB, free: 11.1 MB / 362.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 (7): * Single equations (assignments): 7 * 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.0007956/0.0112, allocations: 378 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.398e-05/0.01129, allocations: 43.64 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01129, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.01132, allocations: 31.61 kB / 385.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01155, allocations: 37.31 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.01212, allocations: 0.5862 MB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.274e-05/0.0122, allocations: 127.2 kB / 386.7 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.802e-05/0.01224, allocations: 12.73 kB / 386.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.01229, allocations: 82.19 kB / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01229, allocations: 0 / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of Templates: time 0.003934/0.01623, allocations: 1.669 MB / 388.4 MB, free: 8.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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: 2.817538709845394]