Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001786/0.001786, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.002232/0.002232, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.438/1.438, 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.2211/0.2211, allocations: 46.93 MB / 361.6 MB, free: 4.34 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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 0.4974 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3821, allocations: 66.04 MB / 0.5619 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003264/0.3854, allocations: 1.636 MB / 0.5635 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3866, allocations: 0.5582 MB / 0.564 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.868e-05/0.3866, allocations: 0 / 0.564 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.387, allocations: 87.7 kB / 0.5641 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.3873, allocations: 99.64 kB / 0.5642 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.3877, allocations: 111.7 kB / 0.5643 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.3879, allocations: 87.75 kB / 0.5644 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.388, allocations: 15.66 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.451e-05/0.388, allocations: 35.89 kB / 0.5645 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3882, allocations: 63.75 kB / 0.5645 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.3882, allocations: 8 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.857e-05/0.3883, allocations: 43.98 kB / 0.5646 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.3884, allocations: 27.86 kB / 0.5646 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.3884, allocations: 35.72 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.3886, allocations: 102.3 kB / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3886, allocations: 0 / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3886, allocations: 0 / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.3886, allocations: 0 / 0.5647 GB, free: 1.48 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.0005131/0.3891, allocations: 341.6 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3892, allocations: 16.03 kB / 0.5651 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.3892, allocations: 12.84 kB / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3894, allocations: 143 kB / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.3894, allocations: 4.359 kB / 0.5652 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.3895, allocations: 4.375 kB / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3896, allocations: 61.78 kB / 0.5653 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3896, allocations: 0 / 0.5653 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3896, allocations: 4 kB / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3897, allocations: 0 / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.3898, allocations: 31.97 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.3902, allocations: 279.8 kB / 0.5656 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.3903, allocations: 42.56 kB / 0.5656 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.3904, allocations: 20.94 kB / 0.5657 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3904, allocations: 0 / 0.5657 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3904, allocations: 34.56 kB / 0.5657 GB, free: 388 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3904, allocations: 0 / 0.5657 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009028/0.3913, allocations: 237.5 kB / 0.5659 GB, free: 144 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3914, allocations: 63.33 kB / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.3916, allocations: 218.2 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3916, allocations: 25.7 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.3917, allocations: 108 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3918, allocations: 31.73 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.3918, allocations: 25.66 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.392, allocations: 326.8 kB / 0.5667 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.392, allocations: 27.97 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.3921, allocations: 31.98 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3923, allocations: 72.81 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3923, allocations: 3.938 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002278/0.3925, allocations: 113.6 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3925, allocations: 7.938 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3925, allocations: 4 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3925, allocations: 0 / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3926, allocations: 19.98 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3927, allocations: 0 / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.3927, allocations: 11.92 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.3927, allocations: 4 kB / 0.567 GB, free: 15.01 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 (8): * Single equations (assignments): 8 * 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.0001024/0.3928, allocations: 125.8 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.3929, allocations: 15.89 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.3932, allocations: 139.3 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3932, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3932, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3932, allocations: 3.938 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.3937, allocations: 394.3 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3937, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.3938, allocations: 19.98 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3938, allocations: 3.938 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3938, allocations: 4.031 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3938, allocations: 4 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3938, allocations: 0 / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3941, allocations: 212.2 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.3941, allocations: 15.84 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3942, allocations: 4 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.3942, allocations: 8 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.3943, allocations: 7.984 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3943, allocations: 0 / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.3944, allocations: 168.2 kB / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3944, allocations: 0 / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.3947, allocations: 23.98 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001725/0.3964, allocations: 477.6 kB / 0.5685 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.3967, allocations: 67.89 kB / 0.5686 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3967, allocations: 0 / 0.5686 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/0.3968, allocations: 47.91 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.3972, allocations: 15.98 kB / 0.5686 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/0.3978, allocations: 296.4 kB / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.3982, allocations: 0.708 MB / 0.5696 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.3982, allocations: 23.5 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3982, allocations: 0 / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of Templates: time 0.004109/0.4024, allocations: 1.827 MB / 0.5714 GB, free: 10.47 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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: 7.912418054882437]