Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 108.5 kB / 21.23 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 190.5 kB / 24.51 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2597/0.2597, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 63.89 kB / 497.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4681, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.004669/0.4728, allocations: 1.601 MB / 0.5504 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000996/0.4738, allocations: 442.2 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.4738, allocations: 1.625 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.4741, allocations: 15.8 kB / 0.5508 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.4743, allocations: 46.48 kB / 0.5509 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.4746, allocations: 89.89 kB / 0.551 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.4749, allocations: 66.11 kB / 0.551 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.475, allocations: 11 kB / 0.551 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.4751, allocations: 33.14 kB / 0.5511 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.719e-05/0.4751, allocations: 28.03 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.4752, allocations: 3.25 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.4753, allocations: 55.28 kB / 0.5512 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.4754, allocations: 11.39 kB / 0.5512 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.4754, allocations: 28.61 kB / 0.5512 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.4757, allocations: 98.08 kB / 0.5513 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4757, allocations: 0 / 0.5513 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4757, allocations: 0 / 0.5513 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.4757, allocations: 1.125 kB / 0.5513 GB, free: 11.27 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007157/0.4765, allocations: 321 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.4765, allocations: 9.797 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.4766, allocations: 8.141 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.4768, allocations: 131.4 kB / 0.5517 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.4768, allocations: 2.375 kB / 0.5517 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.4769, allocations: 2.562 kB / 0.5517 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.4771, allocations: 73.27 kB / 0.5518 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4771, allocations: 0 / 0.5518 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4771, allocations: 5.094 kB / 0.5518 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4771, allocations: 1.094 kB / 0.5518 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.4773, allocations: 31.47 kB / 0.5518 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.4778, allocations: 264.8 kB / 0.5521 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.478, allocations: 57.75 kB / 0.5522 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.304e-05/0.4781, allocations: 27.41 kB / 0.5522 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.4781, allocations: 1.469 kB / 0.5522 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.4781, allocations: 31.75 kB / 0.5522 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.4781, allocations: 0 / 0.5522 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007244/0.4789, allocations: 184.1 kB / 0.5524 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.4789, allocations: 86.11 kB / 0.5525 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.4791, allocations: 148 kB / 0.5526 GB, free: 9.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.4792, allocations: 30.77 kB / 0.5526 GB, free: 9.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.4792, allocations: 86.52 kB / 0.5527 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4793, allocations: 31.2 kB / 0.5528 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.4793, allocations: 20.56 kB / 0.5528 GB, free: 9.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4795, allocations: 325.1 kB / 0.5531 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.4796, allocations: 34.48 kB / 0.5531 GB, free: 9.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.4797, allocations: 49.75 kB / 0.5532 GB, free: 9.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.4799, allocations: 70.81 kB / 0.5532 GB, free: 9.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4799, allocations: 3.938 kB / 0.5532 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002713/0.4801, allocations: 110.6 kB / 0.5533 GB, free: 9.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4802, allocations: 5.5 kB / 0.5533 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4802, allocations: 4.031 kB / 0.5533 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.4802, allocations: 1.531 kB / 0.5533 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4803, allocations: 18.95 kB / 0.5534 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4803, allocations: 0 / 0.5534 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.4804, allocations: 12.34 kB / 0.5534 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.4804, allocations: 6.094 kB / 0.5534 GB, free: 9.328 MB / 398.1 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 (9): * Single equations (assignments): 9 * 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.0001385/0.4806, allocations: 122.2 kB / 0.5535 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.4806, allocations: 8.453 kB / 0.5535 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.4809, allocations: 121 kB / 0.5536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4809, allocations: 1.25 kB / 0.5536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4809, allocations: 5.031 kB / 0.5536 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4809, allocations: 0 / 0.5536 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.4816, allocations: 365.1 kB / 0.554 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4816, allocations: 0 / 0.554 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.023e-05/0.4817, allocations: 17 kB / 0.554 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4817, allocations: 1.5 kB / 0.554 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.4817, allocations: 7.922 kB / 0.554 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4817, allocations: 1.344 kB / 0.554 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4817, allocations: 0 / 0.554 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.482, allocations: 207.3 kB / 0.5542 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.482, allocations: 2.125 kB / 0.5542 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.4821, allocations: 9.031 kB / 0.5542 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.4821, allocations: 3.219 kB / 0.5542 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.4822, allocations: 7.141 kB / 0.5542 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.4822, allocations: 6.25 kB / 0.5542 GB, free: 8.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.4823, allocations: 109.4 kB / 0.5543 GB, free: 8.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4823, allocations: 0 / 0.5543 GB, free: 8.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.4827, allocations: 29.08 kB / 0.5544 GB, free: 8.461 MB / 398.1 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 (8): * Single equations (assignments): 8 * 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.001916/0.4846, allocations: 456.7 kB / 0.5548 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.4849, allocations: 70.64 kB / 0.5549 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4849, allocations: 0 / 0.5549 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.485, allocations: 37.38 kB / 0.5549 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.4855, allocations: 18.64 kB / 0.5549 GB, free: 8.188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.4861, allocations: 185 kB / 0.5551 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.4866, allocations: 0.7028 MB / 0.5558 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.4867, allocations: 23.67 kB / 0.5558 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.4868, allocations: 18.33 kB / 0.5558 GB, free: 7.289 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4868, allocations: 3.938 kB / 0.5558 GB, free: 7.285 MB / 398.1 MB Notification: Performance of Templates: time 0.00603/0.4928, allocations: 1.609 MB / 0.5574 GB, free: 6.461 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.725961899384856]