Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.00138/0.00138, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001526/0.001526, allocations: 212.4 kB / 23.72 MB, free: 4.531 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2432/0.2432, allocations: 46.95 MB / 360.9 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 180] 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 63.89 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3807, allocations: 66.03 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003059/0.3838, allocations: 1.615 MB / 0.5627 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3849, allocations: 0.5144 MB / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.3849, allocations: 4 kB / 0.5632 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.3855, allocations: 447.2 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.3861, allocations: 295.3 kB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.3864, allocations: 135.2 kB / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.3867, allocations: 155.7 kB / 0.5641 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3868, allocations: 16.16 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3869, allocations: 103.7 kB / 0.5643 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.3872, allocations: 247.5 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.3872, allocations: 4 kB / 0.5645 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.3873, allocations: 27.92 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.3874, allocations: 83.69 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.3875, allocations: 67.25 kB / 0.5647 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.3878, allocations: 257 kB / 0.5649 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3878, allocations: 0 / 0.5649 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3878, allocations: 0 / 0.5649 GB, free: 260 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3879, allocations: 0 / 0.5649 GB, free: 260 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008312/0.3887, allocations: 0.566 MB / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3887, allocations: 12.03 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.3888, allocations: 40.66 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.3891, allocations: 254.7 kB / 0.5658 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3891, allocations: 384 / 0.5658 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.3891, allocations: 384 / 0.5658 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.3893, allocations: 54.61 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3893, allocations: 0 / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3893, allocations: 0 / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3893, allocations: 0 / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.814e-05/0.3894, allocations: 19.98 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.3899, allocations: 324.4 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.392e-05/0.39, allocations: 30.58 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.39, allocations: 16.91 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.39, allocations: 0 / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3901, allocations: 38.55 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3901, allocations: 3.938 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003044/0.3904, allocations: 101.3 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3904, allocations: 51.41 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009595/0.3914, allocations: 0.8574 MB / 0.5672 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3914, allocations: 37.75 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.3916, allocations: 212 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.3916, allocations: 7.891 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.3917, allocations: 17.72 kB / 0.5675 GB, free: 13.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3919, allocations: 362.7 kB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.3919, allocations: 8 kB / 0.5678 GB, free: 13.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.392, allocations: 11.98 kB / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.849e-05/0.392, allocations: 24.84 kB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.392, allocations: 64 / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001605/0.3922, allocations: 97.34 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3922, allocations: 6.656 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3922, allocations: 0 / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3922, allocations: 0 / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.528e-05/0.3923, allocations: 8 kB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3923, allocations: 4 kB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.3924, allocations: 3.984 kB / 0.568 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3924, allocations: 0 / 0.568 GB, free: 12.94 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 (2): * Single equations (assignments): 2 * 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.0002042/0.3926, allocations: 213.8 kB / 0.5682 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.3926, allocations: 43.72 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.3928, allocations: 108.7 kB / 0.5683 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3928, allocations: 0 / 0.5683 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3929, allocations: 4 kB / 0.5683 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3929, allocations: 0 / 0.5683 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.3931, allocations: 229.2 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3931, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.3932, allocations: 4 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3932, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-06/0.3932, allocations: 8.031 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3932, allocations: 0 / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3932, allocations: 0 / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.3934, allocations: 191.2 kB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.3934, allocations: 35.72 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3934, allocations: 0 / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.3935, allocations: 0 / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.3935, allocations: 7.922 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3935, allocations: 4 kB / 0.5688 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006696/0.3942, allocations: 0.6511 MB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3942, allocations: 4 kB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.3945, allocations: 15.94 kB / 0.5694 GB, free: 11.38 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 (2): * Single equations (assignments): 2 * 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.001376/0.3958, allocations: 365.2 kB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.396, allocations: 19.98 kB / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.396, allocations: 4 kB / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.927e-05/0.396, allocations: 11.98 kB / 0.5698 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.3964, allocations: 32.5 kB / 0.5699 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.3976, allocations: 0.7866 MB / 0.5706 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.3979, allocations: 215.5 kB / 0.5708 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.6e-05/0.3979, allocations: 8 kB / 0.5708 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.3979, allocations: 11.44 kB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3979, allocations: 0 / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of Templates: time 0.005128/0.4031, allocations: 1.456 MB / 0.5723 GB, free: 8.594 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.268723963294178]