Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001895/0.001895, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002052/0.002052, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 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.598/1.598, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 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.2564/0.2564, allocations: 46.93 MB / 360.8 MB, free: 4.266 MB / 286.1 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 71.89 kB / 0.4967 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3882, allocations: 66.02 MB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003694/0.3919, allocations: 1.628 MB / 0.5627 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3932, allocations: 0.5698 MB / 0.5633 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.3932, allocations: 4 kB / 0.5633 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.3935, allocations: 19.86 kB / 0.5633 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.3938, allocations: 87.61 kB / 0.5634 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.3941, allocations: 91.7 kB / 0.5635 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3943, allocations: 75.77 kB / 0.5636 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3944, allocations: 7.984 kB / 0.5636 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.3944, allocations: 31.91 kB / 0.5636 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.464e-05/0.3945, allocations: 31.86 kB / 0.5636 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3945, allocations: 4 kB / 0.5636 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.3947, allocations: 103.9 kB / 0.5637 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.3948, allocations: 11.94 kB / 0.5637 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.3948, allocations: 35.78 kB / 0.5638 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.3951, allocations: 157.8 kB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3951, allocations: 0 / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3951, allocations: 4 kB / 0.5639 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3951, allocations: 0 / 0.5639 GB, free: 1.57 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.0005683/0.3957, allocations: 337.6 kB / 0.5642 GB, free: 1.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3957, allocations: 12.02 kB / 0.5643 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.3958, allocations: 8.891 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.396, allocations: 129.1 kB / 0.5644 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.396, allocations: 384 / 0.5644 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.396, allocations: 16.3 kB / 0.5644 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3962, allocations: 71.47 kB / 0.5645 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3962, allocations: 0 / 0.5645 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3962, allocations: 0 / 0.5645 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3962, allocations: 4 kB / 0.5645 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3963, allocations: 27.97 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.3969, allocations: 275.8 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.397, allocations: 58.5 kB / 0.5648 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.3971, allocations: 24.97 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.3971, allocations: 7.969 kB / 0.5649 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3971, allocations: 30.56 kB / 0.5649 GB, free: 472 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.3971, allocations: 0 / 0.5649 GB, free: 472 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007039/0.3978, allocations: 189.4 kB / 0.5651 GB, free: 276 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.3979, allocations: 77.11 kB / 0.5651 GB, free: 180 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.3981, allocations: 152 kB / 0.5653 GB, free: 16 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.3981, allocations: 29.7 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.3982, allocations: 100 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.3982, allocations: 23.78 kB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.3983, allocations: 29.72 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3984, allocations: 322.8 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/0.3985, allocations: 31.97 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3986, allocations: 45.64 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.3988, allocations: 72.81 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3988, allocations: 4.031 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002673/0.3991, allocations: 117.5 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3991, allocations: 4 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3991, allocations: 0 / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3992, allocations: 4 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3993, allocations: 16.36 kB / 0.566 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3993, allocations: 4 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.3993, allocations: 3.984 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3993, allocations: 12 kB / 0.5661 GB, free: 15.17 MB / 414.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.0001095/0.3994, allocations: 125.7 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.3995, allocations: 7.953 kB / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.3998, allocations: 122.3 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.3998, allocations: 11.92 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3998, allocations: 0 / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3998, allocations: 288 / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006116/0.4004, allocations: 369.4 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.4004, allocations: 0 / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.573e-05/0.4005, allocations: 19.92 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4005, allocations: 4 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.4005, allocations: 3.938 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4005, allocations: 0 / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4005, allocations: 3.938 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.4008, allocations: 203.5 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.4009, allocations: 15.94 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.4009, allocations: 3.938 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.401, allocations: 4 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.401, allocations: 11.98 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.401, allocations: 0 / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.4011, allocations: 121.5 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4011, allocations: 4 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.4014, allocations: 43.86 kB / 0.5671 GB, free: 14.03 MB / 414.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.001798/0.4032, allocations: 0.4945 MB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.4035, allocations: 75.88 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4035, allocations: 0 / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.4036, allocations: 35.92 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.404, allocations: 25.53 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.4045, allocations: 189.9 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.4049, allocations: 0.6963 MB / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.969e-05/0.405, allocations: 28.56 kB / 0.5686 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.4051, allocations: 23.42 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4051, allocations: 0 / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of Templates: time 0.006027/0.4111, allocations: 2.005 MB / 0.5706 GB, free: 10.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.648726662155241]