Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001999/0.001999, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002465/0.002465, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2329/0.2329, allocations: 44.94 MB / 358.8 MB, free: 6.043 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.002203/0.002203, allocations: 75.89 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3438, allocations: 65.47 MB / 0.5575 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003253/0.3471, allocations: 1.683 MB / 0.5591 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3482, allocations: 0.5816 MB / 0.5597 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.3483, allocations: 0 / 0.5597 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.3485, allocations: 27.8 kB / 0.5597 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.3488, allocations: 79.61 kB / 0.5598 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.3492, allocations: 183.3 kB / 0.56 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3494, allocations: 107.7 kB / 0.5601 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.3495, allocations: 11.98 kB / 0.5601 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.3495, allocations: 35.86 kB / 0.5601 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.3497, allocations: 47.7 kB / 0.5602 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3497, allocations: 8 kB / 0.5602 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.3499, allocations: 95.94 kB / 0.5603 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.35, allocations: 23.91 kB / 0.5603 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.35, allocations: 23.88 kB / 0.5603 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.3503, allocations: 173.7 kB / 0.5605 GB, free: 4.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3503, allocations: 0 / 0.5605 GB, free: 4.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3503, allocations: 0 / 0.5605 GB, free: 4.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3503, allocations: 8 kB / 0.5605 GB, free: 4.422 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.0007282/0.351, allocations: 363.6 kB / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3511, allocations: 8.031 kB / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.3511, allocations: 12.84 kB / 0.5608 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.3513, allocations: 150.1 kB / 0.561 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.3513, allocations: 4.375 kB / 0.561 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.3514, allocations: 15.88 kB / 0.561 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.3517, allocations: 117.1 kB / 0.5611 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3517, allocations: 3.938 kB / 0.5611 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3517, allocations: 4 kB / 0.5611 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3517, allocations: 0 / 0.5611 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.352, allocations: 67.92 kB / 0.5612 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.3526, allocations: 284.4 kB / 0.5615 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.3528, allocations: 70.53 kB / 0.5615 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.353, allocations: 44.94 kB / 0.5616 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.353, allocations: 4 kB / 0.5616 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.3531, allocations: 34.56 kB / 0.5616 GB, free: 3.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3531, allocations: 0 / 0.5616 GB, free: 3.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001685/0.3547, allocations: 421 kB / 0.562 GB, free: 2.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.3548, allocations: 81.11 kB / 0.5621 GB, free: 2.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.355, allocations: 158.4 kB / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.355, allocations: 29.8 kB / 0.5623 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.3551, allocations: 100.1 kB / 0.5624 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.3551, allocations: 31.73 kB / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.3552, allocations: 29.72 kB / 0.5624 GB, free: 2.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3554, allocations: 318.8 kB / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.3557, allocations: 79.91 kB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.356, allocations: 123.3 kB / 0.5629 GB, free: 1.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.3566, allocations: 164.7 kB / 0.5631 GB, free: 1.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3566, allocations: 4 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000769/0.3574, allocations: 213.4 kB / 0.5633 GB, free: 1.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3574, allocations: 8 kB / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3574, allocations: 0 / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3574, allocations: 0 / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.3577, allocations: 47.95 kB / 0.5633 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.3577, allocations: 7.922 kB / 0.5633 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.3579, allocations: 19.97 kB / 0.5634 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3579, allocations: 4 kB / 0.5634 GB, free: 1.254 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.0001142/0.358, allocations: 121.8 kB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.358, allocations: 7.953 kB / 0.5635 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007521/0.3588, allocations: 230.4 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3588, allocations: 0 / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3588, allocations: 11.88 kB / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3588, allocations: 0 / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.3598, allocations: 450.3 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3598, allocations: 0 / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.36, allocations: 47.94 kB / 0.5642 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.36, allocations: 3.938 kB / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.36, allocations: 4 kB / 0.5642 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.36, allocations: 0 / 0.5642 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.36, allocations: 4 kB / 0.5642 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.3607, allocations: 299.3 kB / 0.5645 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.3608, allocations: 11.95 kB / 0.5645 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.3608, allocations: 3.938 kB / 0.5645 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.361, allocations: 23.97 kB / 0.5645 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.3611, allocations: 15.97 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.3611, allocations: 0 / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3612, allocations: 126.9 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3612, allocations: 0 / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.3615, allocations: 47.86 kB / 0.5647 GB, free: 15.8 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.002098/0.3636, allocations: 0.5425 MB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007813/0.3644, allocations: 163.8 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3644, allocations: 0 / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.3647, allocations: 91.84 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.3652, allocations: 23.98 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.366, allocations: 238.7 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.3661, allocations: 100.1 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.3662, allocations: 24.47 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.3663, allocations: 23.42 kB / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3663, allocations: 4 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Templates: time 0.006588/0.3729, allocations: 2.73 MB / 0.5685 GB, free: 12.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.4196457248181105]