Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001685/0.001685, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001756/0.001756, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.547/1.547, allocations: 230.6 MB / 258.3 MB, free: 8 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.2651/0.2651, allocations: 46.93 MB / 361.6 MB, free: 4.367 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.89 kB / 0.4974 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4028, allocations: 66.03 MB / 0.5619 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003466/0.4063, allocations: 1.73 MB / 0.5636 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.4074, allocations: 0.5737 MB / 0.5641 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.4075, allocations: 0 / 0.5641 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.4077, allocations: 27.78 kB / 0.5642 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.4081, allocations: 87.55 kB / 0.5642 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.4084, allocations: 135.1 kB / 0.5644 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.4086, allocations: 95.69 kB / 0.5645 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.4087, allocations: 19.98 kB / 0.5645 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.46e-05/0.4088, allocations: 35.8 kB / 0.5645 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.4089, allocations: 47.77 kB / 0.5646 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.4089, allocations: 8 kB / 0.5646 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.4091, allocations: 111.9 kB / 0.5647 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.4092, allocations: 19.92 kB / 0.5647 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.4093, allocations: 35.8 kB / 0.5647 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.4096, allocations: 161.8 kB / 0.5649 GB, free: 1.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4096, allocations: 0 / 0.5649 GB, free: 1.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4096, allocations: 0 / 0.5649 GB, free: 1.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4096, allocations: 0 / 0.5649 GB, free: 1.336 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.0006719/0.4102, allocations: 377.4 kB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4103, allocations: 8.031 kB / 0.5653 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.4103, allocations: 8.891 kB / 0.5653 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.4106, allocations: 142.9 kB / 0.5654 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.4106, allocations: 8.375 kB / 0.5654 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.4106, allocations: 7.938 kB / 0.5654 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.4109, allocations: 83.36 kB / 0.5655 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4109, allocations: 0 / 0.5655 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.4109, allocations: 8 kB / 0.5655 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4109, allocations: 0 / 0.5655 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.4112, allocations: 71.86 kB / 0.5656 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.4117, allocations: 279.8 kB / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.4119, allocations: 66.53 kB / 0.5659 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.4121, allocations: 52.88 kB / 0.566 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.4121, allocations: 0 / 0.566 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.4121, allocations: 30.56 kB / 0.566 GB, free: 88 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.4121, allocations: 0 / 0.566 GB, free: 88 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.00159/0.4137, allocations: 389 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.4138, allocations: 89.03 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.414, allocations: 155.1 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.414, allocations: 25.7 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.4141, allocations: 100.1 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.4141, allocations: 35.69 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.4142, allocations: 25.72 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4143, allocations: 322.8 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.4146, allocations: 68.3 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.4149, allocations: 93.58 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.4154, allocations: 148.6 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4154, allocations: 8.031 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005918/0.416, allocations: 189.4 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.416, allocations: 4 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.416, allocations: 3.938 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.416, allocations: 4 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.4162, allocations: 39.95 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4162, allocations: 0 / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.4164, allocations: 27.97 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.4164, allocations: 0 / 0.5676 GB, free: 14.32 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 (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.0001211/0.4165, allocations: 130.1 kB / 0.5678 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.4166, allocations: 7.953 kB / 0.5678 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006611/0.4172, allocations: 214 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4172, allocations: 0 / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4172, allocations: 4 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4172, allocations: 0 / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/0.4182, allocations: 469.3 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4182, allocations: 4 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.4183, allocations: 31.97 kB / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4183, allocations: 0 / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4184, allocations: 4 kB / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4184, allocations: 0 / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4184, allocations: 7.922 kB / 0.5685 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.419, allocations: 283.3 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.419, allocations: 11.91 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.419, allocations: 4 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.4192, allocations: 27.95 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.4193, allocations: 15.92 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.4193, allocations: 0 / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.4194, allocations: 119.2 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4194, allocations: 0 / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.4197, allocations: 55.8 kB / 0.569 GB, free: 12.87 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 (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.001788/0.4215, allocations: 0.4988 MB / 0.5694 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006415/0.4221, allocations: 159.8 kB / 0.5696 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4221, allocations: 0 / 0.5696 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.4224, allocations: 83.8 kB / 0.5697 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.4228, allocations: 20.36 kB / 0.5697 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.4234, allocations: 243.9 kB / 0.5699 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.4237, allocations: 0.7002 MB / 0.5706 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.4238, allocations: 19.42 kB / 0.5706 GB, free: 11.28 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4238, allocations: 0 / 0.5706 GB, free: 11.28 MB / 414.1 MB Notification: Performance of Templates: time 0.004988/0.4288, allocations: 2.506 MB / 0.5731 GB, free: 8.785 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.271075930912048]