Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_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.001576/0.001576, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001801/0.001801, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2588/0.2588, allocations: 44.94 MB / 358.8 MB, free: 6.086 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.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 71.88 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3828, allocations: 65.47 MB / 0.5575 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003442/0.3862, allocations: 1.68 MB / 0.5591 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3874, allocations: 0.5465 MB / 0.5597 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.3874, allocations: 0 / 0.5597 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.3877, allocations: 23.84 kB / 0.5597 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.388, allocations: 87.55 kB / 0.5598 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.3883, allocations: 135.4 kB / 0.5599 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.3885, allocations: 95.69 kB / 0.56 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3886, allocations: 19.98 kB / 0.56 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.3887, allocations: 35.8 kB / 0.56 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.623e-05/0.3888, allocations: 43.75 kB / 0.5601 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3888, allocations: 8 kB / 0.5601 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.389, allocations: 99.94 kB / 0.5602 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.311e-05/0.3891, allocations: 27.86 kB / 0.5602 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.3891, allocations: 23.88 kB / 0.5602 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.3894, allocations: 165.8 kB / 0.5604 GB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3894, allocations: 0 / 0.5604 GB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3894, allocations: 4 kB / 0.5604 GB, free: 4.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3894, allocations: 0 / 0.5604 GB, free: 4.516 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006658/0.3901, allocations: 361.5 kB / 0.5607 GB, free: 4.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3901, allocations: 8.031 kB / 0.5607 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.3902, allocations: 16.81 kB / 0.5608 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.3904, allocations: 142.9 kB / 0.5609 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3904, allocations: 8.359 kB / 0.5609 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.3905, allocations: 7.938 kB / 0.5609 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.3908, allocations: 109.1 kB / 0.561 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3908, allocations: 0 / 0.561 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3908, allocations: 4 kB / 0.561 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3908, allocations: 3.984 kB / 0.561 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.3911, allocations: 75.86 kB / 0.5611 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.3915, allocations: 244.4 kB / 0.5613 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.3918, allocations: 58.55 kB / 0.5614 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3919, allocations: 48.94 kB / 0.5614 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.392, allocations: 7.938 kB / 0.5614 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.392, allocations: 34.56 kB / 0.5615 GB, free: 3.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.392, allocations: 0 / 0.5615 GB, free: 3.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.00164/0.3936, allocations: 389 kB / 0.5618 GB, free: 2.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.3937, allocations: 77.11 kB / 0.5619 GB, free: 2.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3939, allocations: 164.4 kB / 0.5621 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.3939, allocations: 29.7 kB / 0.5621 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.394, allocations: 92.14 kB / 0.5622 GB, free: 2.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.394, allocations: 35.69 kB / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.3941, allocations: 25.7 kB / 0.5622 GB, free: 2.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3942, allocations: 318.8 kB / 0.5625 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.3945, allocations: 68.3 kB / 0.5626 GB, free: 2.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.3949, allocations: 119.3 kB / 0.5627 GB, free: 1.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.3954, allocations: 152.7 kB / 0.5629 GB, free: 1.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.3954, allocations: 4 kB / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000611/0.396, allocations: 189.4 kB / 0.5631 GB, free: 1.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.396, allocations: 4 kB / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.396, allocations: 4 kB / 0.5631 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3961, allocations: 3.938 kB / 0.5631 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.3963, allocations: 39.95 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.3963, allocations: 0 / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3964, allocations: 27.95 kB / 0.5631 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3964, allocations: 4.375 kB / 0.5631 GB, free: 1.488 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 (10): * Single equations (assignments): 10 * 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.0001037/0.3966, allocations: 117.8 kB / 0.5633 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.3966, allocations: 15.95 kB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006713/0.3973, allocations: 210.1 kB / 0.5635 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3973, allocations: 3.938 kB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3973, allocations: 0 / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3973, allocations: 4 kB / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009252/0.3982, allocations: 418 kB / 0.5639 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3982, allocations: 3.938 kB / 0.5639 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.3984, allocations: 39.95 kB / 0.5639 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3984, allocations: 0 / 0.5639 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3984, allocations: 4 kB / 0.5639 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3984, allocations: 0 / 0.5639 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3984, allocations: 0 / 0.5639 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006567/0.3991, allocations: 287.3 kB / 0.5642 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.3991, allocations: 15.84 kB / 0.5642 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.3991, allocations: 4 kB / 0.5642 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.3993, allocations: 23.97 kB / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.3994, allocations: 19.91 kB / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.3994, allocations: 0 / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.3995, allocations: 120.6 kB / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3995, allocations: 4 kB / 0.5644 GB, free: 152 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.3998, allocations: 51.81 kB / 0.5644 GB, free: 100 kB / 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 (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 Backend phase and start with SimCode phase: time 0.00201/0.4018, allocations: 0.5351 MB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006555/0.4025, allocations: 159.8 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4025, allocations: 0 / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.4028, allocations: 83.84 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.4031, allocations: 24.25 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.4037, allocations: 226.3 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.4038, allocations: 85.31 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.469e-05/0.4039, allocations: 12.42 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.4039, allocations: 23.42 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4039, allocations: 0 / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Templates: time 0.006609/0.4105, allocations: 2.662 MB / 0.5681 GB, free: 12.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_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.432910542935133]