Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001517/0.001517, allocations: 112.2 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.001649/0.001649, allocations: 208.6 kB / 24.49 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.372/1.372, allocations: 230.6 MB / 258.3 MB, free: 8.242 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.2196/0.2196, allocations: 46.95 MB / 361.6 MB, free: 4.32 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.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 0.4974 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3776, allocations: 66.02 MB / 0.5619 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003315/0.3809, allocations: 1.648 MB / 0.5635 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3819, allocations: 0.5504 MB / 0.564 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.382, allocations: 7.938 kB / 0.564 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.3823, allocations: 103.7 kB / 0.5641 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.3826, allocations: 119.5 kB / 0.5643 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.3829, allocations: 99.31 kB / 0.5643 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.3831, allocations: 99.73 kB / 0.5644 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3832, allocations: 15.66 kB / 0.5645 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-05/0.3833, allocations: 39.84 kB / 0.5645 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.3834, allocations: 71.78 kB / 0.5646 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3834, allocations: 4 kB / 0.5646 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3835, allocations: 55.91 kB / 0.5646 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.3836, allocations: 19.92 kB / 0.5646 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.3836, allocations: 35.75 kB / 0.5647 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.3839, allocations: 118.1 kB / 0.5648 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3839, allocations: 0 / 0.5648 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3839, allocations: 4 kB / 0.5648 GB, free: 1.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.3839, allocations: 3.938 kB / 0.5648 GB, free: 1.473 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.0005317/0.3844, allocations: 353.5 kB / 0.5651 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3844, allocations: 12.03 kB / 0.5651 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.3845, allocations: 8.891 kB / 0.5652 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.3847, allocations: 147.2 kB / 0.5653 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3847, allocations: 384 / 0.5653 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.3847, allocations: 12.36 kB / 0.5653 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3849, allocations: 53.75 kB / 0.5654 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3849, allocations: 7.953 kB / 0.5654 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3849, allocations: 0 / 0.5654 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3849, allocations: 0 / 0.5654 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.545e-05/0.385, allocations: 31.97 kB / 0.5654 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.3854, allocations: 263.9 kB / 0.5656 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3855, allocations: 46.5 kB / 0.5657 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.3856, allocations: 24.92 kB / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3856, allocations: 4 kB / 0.5657 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3856, allocations: 34.56 kB / 0.5658 GB, free: 376 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3856, allocations: 0 / 0.5658 GB, free: 376 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008615/0.3865, allocations: 229.2 kB / 0.566 GB, free: 140 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.3865, allocations: 55.41 kB / 0.566 GB, free: 72 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.3868, allocations: 258.9 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3868, allocations: 29.64 kB / 0.5663 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.3869, allocations: 112.1 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.3869, allocations: 35.75 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.387, allocations: 21.7 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3871, allocations: 326.8 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.3872, allocations: 27.98 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.3873, allocations: 23.92 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3874, allocations: 61.06 kB / 0.5669 GB, free: 15.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3874, allocations: 0 / 0.5669 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002126/0.3876, allocations: 113.5 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3876, allocations: 4 kB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3877, allocations: 4 kB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3877, allocations: 0 / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.752e-05/0.3878, allocations: 15.98 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.3878, allocations: 3.938 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.3878, allocations: 7.938 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3878, allocations: 4 kB / 0.567 GB, free: 15 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.0001122/0.3879, allocations: 133.8 kB / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.388, allocations: 15.91 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.3882, allocations: 123 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3883, allocations: 4 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3883, allocations: 0 / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3883, allocations: 7.922 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.3888, allocations: 378.4 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3888, allocations: 4 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.3888, allocations: 19.92 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3888, allocations: 3.938 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3889, allocations: 4 kB / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3889, allocations: 0 / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3889, allocations: 0 / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3891, allocations: 208.3 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.3891, allocations: 15.89 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3892, allocations: 4 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.3892, allocations: 7.922 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.3893, allocations: 4 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.3893, allocations: 7.938 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.3894, allocations: 191.2 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3894, allocations: 4 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000244/0.3897, allocations: 19.92 kB / 0.5681 GB, free: 13.77 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.001662/0.3913, allocations: 455.7 kB / 0.5686 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.3916, allocations: 71.89 kB / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3916, allocations: 0 / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.27e-05/0.3916, allocations: 35.97 kB / 0.5687 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.392, allocations: 30.06 kB / 0.5687 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.3926, allocations: 320.9 kB / 0.569 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.393, allocations: 0.7119 MB / 0.5697 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.393, allocations: 15.44 kB / 0.5697 GB, free: 12.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.393, allocations: 4 kB / 0.5697 GB, free: 12.27 MB / 414.1 MB Notification: Performance of Templates: time 0.003808/0.3968, allocations: 1.841 MB / 0.5715 GB, free: 10.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.359552600886673]