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.001788/0.001788, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002123/0.002123, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.2787/0.2787, allocations: 44.93 MB / 359.6 MB, free: 6.062 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.002173/0.002173, allocations: 71.88 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3782, allocations: 65.47 MB / 0.5582 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003308/0.3816, allocations: 1.688 MB / 0.5599 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3827, allocations: 0.5426 MB / 0.5604 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.3827, allocations: 0 / 0.5604 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.3829, allocations: 27.78 kB / 0.5604 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.3833, allocations: 83.61 kB / 0.5605 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.3836, allocations: 139.4 kB / 0.5606 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.3838, allocations: 95.69 kB / 0.5607 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.979e-05/0.3839, allocations: 15.98 kB / 0.5607 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.384, allocations: 39.8 kB / 0.5608 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.3841, allocations: 39.83 kB / 0.5608 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3841, allocations: 4 kB / 0.5608 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.3843, allocations: 99.94 kB / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.3844, allocations: 19.92 kB / 0.5609 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.3844, allocations: 35.73 kB / 0.561 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.3847, allocations: 165.8 kB / 0.5611 GB, free: 4.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3847, allocations: 7.938 kB / 0.5611 GB, free: 4.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3847, allocations: 0 / 0.5611 GB, free: 4.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3847, allocations: 0 / 0.5611 GB, free: 4.484 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.0006638/0.3854, allocations: 357.5 kB / 0.5615 GB, free: 4.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3854, allocations: 8.031 kB / 0.5615 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.3855, allocations: 12.89 kB / 0.5615 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.3857, allocations: 153.8 kB / 0.5616 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3857, allocations: 4.375 kB / 0.5616 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.3857, allocations: 3.938 kB / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.386, allocations: 121.1 kB / 0.5618 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.386, allocations: 0 / 0.5618 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3861, allocations: 0 / 0.5618 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3861, allocations: 4 kB / 0.5618 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.3864, allocations: 63.92 kB / 0.5618 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.3869, allocations: 252.4 kB / 0.5621 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.3871, allocations: 70.53 kB / 0.5621 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.3873, allocations: 40.94 kB / 0.5622 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.3873, allocations: 0 / 0.5622 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3873, allocations: 38.56 kB / 0.5622 GB, free: 3.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.3873, allocations: 3.938 kB / 0.5622 GB, free: 3.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001587/0.3889, allocations: 381.1 kB / 0.5626 GB, free: 2.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.389, allocations: 81.11 kB / 0.5626 GB, free: 2.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3892, allocations: 154.4 kB / 0.5628 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3892, allocations: 29.7 kB / 0.5628 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3893, allocations: 96.12 kB / 0.5629 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.3894, allocations: 35.69 kB / 0.563 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.3894, allocations: 29.72 kB / 0.563 GB, free: 2.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3896, allocations: 322.8 kB / 0.5633 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.3899, allocations: 63.92 kB / 0.5633 GB, free: 2.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.3902, allocations: 119.3 kB / 0.5635 GB, free: 1.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.3907, allocations: 149 kB / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3907, allocations: 0 / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006388/0.3914, allocations: 193.4 kB / 0.5638 GB, free: 1.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3914, allocations: 4 kB / 0.5638 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3914, allocations: 384 / 0.5638 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3914, allocations: 7.938 kB / 0.5638 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.3916, allocations: 39.95 kB / 0.5638 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3916, allocations: 4 kB / 0.5638 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.3918, allocations: 27.97 kB / 0.5639 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.3918, allocations: 3.984 kB / 0.5639 GB, free: 1.461 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.000151/0.3919, allocations: 125.8 kB / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.392, allocations: 11.89 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/0.3927, allocations: 202.2 kB / 0.5642 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3927, allocations: 7.922 kB / 0.5642 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3927, allocations: 3.938 kB / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3927, allocations: 4 kB / 0.5642 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009138/0.3936, allocations: 418 kB / 0.5646 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3936, allocations: 3.938 kB / 0.5646 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.3938, allocations: 39.95 kB / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3938, allocations: 288 / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3938, allocations: 0 / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3938, allocations: 8 kB / 0.5647 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3938, allocations: 3.938 kB / 0.5647 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.3945, allocations: 283.3 kB / 0.5649 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.3945, allocations: 15.84 kB / 0.5649 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.3945, allocations: 8 kB / 0.565 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3947, allocations: 19.97 kB / 0.565 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.3948, allocations: 15.97 kB / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3948, allocations: 0 / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.3949, allocations: 117 kB / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3949, allocations: 0 / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.3952, allocations: 51.86 kB / 0.5652 GB, free: 76 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.001912/0.3971, allocations: 0.5418 MB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006764/0.3978, allocations: 155.8 kB / 0.5658 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3978, allocations: 0 / 0.5658 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.3981, allocations: 75.92 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.3985, allocations: 29.92 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.399, allocations: 244 kB / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.237e-05/0.3991, allocations: 85.33 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.3992, allocations: 19.42 kB / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3992, allocations: 0 / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Templates: time 0.004813/0.404, allocations: 2.541 MB / 0.5687 GB, free: 12.57 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/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: 8.012618575245142]