Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.0009684/0.0009684, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001092/0.001092, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.641 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.2602/0.2602, allocations: 34.26 MB / 296 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test28,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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.483e-05, allocations: 5.688 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002148/0.002173, allocations: 1.719 MB / 379.8 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.002846, allocations: 0.5491 MB / 380.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.0029, allocations: 0 / 380.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.003111, allocations: 55.73 kB / 380.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.003359, allocations: 95.53 kB / 380.5 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.003579, allocations: 135.5 kB / 380.6 MB, free: 396 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.003719, allocations: 87.75 kB / 380.7 MB, free: 308 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.003809, allocations: 16.22 kB / 380.7 MB, free: 288 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.371e-05/0.003872, allocations: 43.89 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.003955, allocations: 51.86 kB / 380.8 MB, free: 192 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.003969, allocations: 4 kB / 380.8 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.642e-05/0.004045, allocations: 47.92 kB / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.004106, allocations: 23.92 kB / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.004132, allocations: 23.86 kB / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.004279, allocations: 91.66 kB / 381 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.58e-05/0.004295, allocations: 4.047 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004295, allocations: 7.938 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.004299, allocations: 0 / 381 MB, free: 15.98 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.0003877/0.004687, allocations: 439.9 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.004725, allocations: 12.03 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.004768, allocations: 8.891 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.004905, allocations: 148.4 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.004916, allocations: 8.375 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.004936, allocations: 4.328 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.005052, allocations: 66.94 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.005062, allocations: 192 / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.005071, allocations: 8.125 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.005078, allocations: 0 / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.772e-05/0.005116, allocations: 23.92 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.005415, allocations: 287.8 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.005574, allocations: 55.02 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.005601, allocations: 15.81 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.005617, allocations: 0 / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.005639, allocations: 45.38 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 6.32e-07/0.005639, allocations: 0 / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005706/0.00621, allocations: 253.5 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.006239, allocations: 59.34 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.006367, allocations: 226.5 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.006379, allocations: 29.7 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.006435, allocations: 146.9 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.006462, allocations: 39.64 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.006496, allocations: 31.36 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.006608, allocations: 0.504 MB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.006635, allocations: 12 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.00666, allocations: 15.98 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.006721, allocations: 51.94 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.006722, allocations: 0 / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000102/0.006824, allocations: 97.47 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.006836, allocations: 8 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.00684, allocations: 0 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.006852, allocations: 0 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.006912, allocations: 23.98 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.006916, allocations: 4 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.006941, allocations: 7.984 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.006948, allocations: 4 kB / 383.6 MB, free: 13.19 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 6.504e-05/0.007013, allocations: 160.5 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.007037, allocations: 19.91 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.007191, allocations: 106.3 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.007194, allocations: 4 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.007197, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.0072, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.007512, allocations: 420.6 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.007513, allocations: 0 / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.007561, allocations: 20.17 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.007563, allocations: 4 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.007573, allocations: 8 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.007577, allocations: 7.938 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.007578, allocations: 0 / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.007718, allocations: 263.1 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.007728, allocations: 11.91 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.007741, allocations: 4.062 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.313e-05/0.007784, allocations: 19.92 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.007817, allocations: 7.984 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.007821, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.69e-05/0.007888, allocations: 163.2 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007888, allocations: 0 / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.008064, allocations: 27.94 kB / 384.8 MB, free: 11.87 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.0008511/0.008915, allocations: 432.1 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.009041, allocations: 63.55 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.009043, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.009082, allocations: 39.61 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.009293, allocations: 27.98 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.009644, allocations: 254 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.312e-05/0.009687, allocations: 75.33 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.92e-05/0.009726, allocations: 20.59 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.009759, allocations: 16.5 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 5.82e-07/0.00976, allocations: 0 / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003026/0.01279, allocations: 1.594 MB / 387.3 MB, free: 9.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.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.334755119867623]