Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.002018/0.002018, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002109/0.002109, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.64/1.64, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3587/0.3587, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.958e-05, allocations: 2.312 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.00314/0.00317, allocations: 1.668 MB / 379 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.004293, allocations: 0.5375 MB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.004339, allocations: 0 / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006673/0.005006, allocations: 459 kB / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005383/0.005545, allocations: 299.2 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.005879, allocations: 131.6 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.006131, allocations: 175.6 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.006215, allocations: 12 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.006391, allocations: 123.8 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.006696, allocations: 239.6 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.006725, allocations: 4 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.64e-05/0.006821, allocations: 31.92 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.006965, allocations: 87.7 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.007025, allocations: 39.73 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.007372, allocations: 251 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.007377, allocations: 0 / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007378, allocations: 0 / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.007384, allocations: 0 / 381.3 MB, free: 14.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009316/0.008315, allocations: 0.7085 MB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.008354, allocations: 15.95 kB / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.651e-05/0.00844, allocations: 44.66 kB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.008763, allocations: 244.9 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.008784, allocations: 4.375 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.00881, allocations: 8.359 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.008959, allocations: 54.23 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.00897, allocations: 4.188 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.008981, allocations: 4.125 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.008985, allocations: 0 / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.0091, allocations: 27.97 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.009769, allocations: 471.5 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.009906, allocations: 51.05 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.009971, allocations: 19.62 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.009994, allocations: 0 / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.01003, allocations: 49.39 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.01003, allocations: 0 / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007809/0.01081, allocations: 268.8 kB / 383.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.01087, allocations: 59.34 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/0.01165, allocations: 0.6745 MB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.01169, allocations: 29.7 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.01198, allocations: 302.7 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.01201, allocations: 27.84 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.01207, allocations: 23.38 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003767/0.01244, allocations: 0.5743 MB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.01253, allocations: 19.98 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.01261, allocations: 28.05 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.0128, allocations: 67.59 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.0128, allocations: 0 / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002799/0.01308, allocations: 145.3 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.0131, allocations: 8 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01311, allocations: 0 / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01312, allocations: 3.984 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.01323, allocations: 12 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.01324, allocations: 0 / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.0133, allocations: 7.984 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.01331, allocations: 4 kB / 385.3 MB, free: 10.77 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.0001429/0.01345, allocations: 164.5 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.01352, allocations: 47.72 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.01386, allocations: 137.5 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.01387, allocations: 4 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01387, allocations: 0 / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.01388, allocations: 7.984 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/0.01467, allocations: 0.5403 MB / 386.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01467, allocations: 0 / 386.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-05/0.01475, allocations: 23.92 kB / 386.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01475, allocations: 4 kB / 386.2 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.01476, allocations: 0 / 386.2 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01476, allocations: 0 / 386.2 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01476, allocations: 0 / 386.2 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.01513, allocations: 295.8 kB / 386.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.01519, allocations: 31.72 kB / 386.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.01522, allocations: 0 / 386.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.0153, allocations: 4 kB / 386.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.01534, allocations: 8.266 kB / 386.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.01535, allocations: 8 kB / 386.5 MB, free: 9.426 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004896/0.01584, allocations: 446.8 kB / 386.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01584, allocations: 0 / 386.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.01609, allocations: 20 kB / 387 MB, free: 8.973 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.002876/0.01896, allocations: 452.2 kB / 387.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.01923, allocations: 67.64 kB / 387.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01924, allocations: 0 / 387.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.01935, allocations: 55.59 kB / 387.5 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.01973, allocations: 21.97 kB / 387.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.02078, allocations: 0.5981 MB / 388.1 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.02102, allocations: 208 kB / 388.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.02108, allocations: 11.98 kB / 388.4 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.02112, allocations: 16.5 kB / 388.4 MB, free: 7.68 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02112, allocations: 3.938 kB / 388.4 MB, free: 7.676 MB / 362.7 MB Notification: Performance of Templates: time 0.005632/0.02675, allocations: 1.456 MB / 389.8 MB, free: 6.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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: 5.148326119990088]