Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001319/0.001319, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001448/0.001448, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.586/1.586, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2339/0.2339, allocations: 46.96 MB / 361.6 MB, free: 4.098 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 75.83 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3173, allocations: 66.04 MB / 0.5618 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003145/0.3204, allocations: 1.636 MB / 0.5634 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3215, allocations: 0.5231 MB / 0.5639 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.3215, allocations: 7.938 kB / 0.564 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.3218, allocations: 95.73 kB / 0.564 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.3221, allocations: 115.6 kB / 0.5642 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.3224, allocations: 99.19 kB / 0.5643 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.3226, allocations: 99.75 kB / 0.5643 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3227, allocations: 23.62 kB / 0.5644 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.3227, allocations: 43.84 kB / 0.5644 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.3229, allocations: 67.8 kB / 0.5645 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3229, allocations: 4 kB / 0.5645 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.323, allocations: 47.98 kB / 0.5645 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.323, allocations: 31.84 kB / 0.5646 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.3231, allocations: 35.73 kB / 0.5646 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.3233, allocations: 122.2 kB / 0.5647 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3233, allocations: 3.938 kB / 0.5647 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3233, allocations: 0 / 0.5647 GB, free: 1.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3233, allocations: 0 / 0.5647 GB, free: 1.285 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005393/0.3239, allocations: 357.5 kB / 0.5651 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3239, allocations: 12.03 kB / 0.5651 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.3239, allocations: 12.84 kB / 0.5651 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.3242, allocations: 162.2 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.3242, allocations: 4.375 kB / 0.5652 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.3242, allocations: 4.375 kB / 0.5652 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.3244, allocations: 69.8 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3244, allocations: 3.953 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3244, allocations: 8 kB / 0.5653 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3244, allocations: 0 / 0.5653 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.3245, allocations: 47.89 kB / 0.5654 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.325, allocations: 268.3 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3251, allocations: 66.55 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.3251, allocations: 24.84 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3252, allocations: 0 / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3252, allocations: 34.5 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3252, allocations: 0 / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001185/0.3264, allocations: 309.1 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.3264, allocations: 59.34 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.3267, allocations: 231.6 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3267, allocations: 29.7 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.3268, allocations: 116.2 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.3269, allocations: 51.56 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.3269, allocations: 29.7 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3271, allocations: 322.8 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.3272, allocations: 43.97 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.3273, allocations: 31.98 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.3275, allocations: 92.77 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3275, allocations: 0 / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002803/0.3278, allocations: 137.6 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.3278, allocations: 8 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3278, allocations: 0 / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3278, allocations: 4.094 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.328, allocations: 35.86 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.328, allocations: 3.938 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.328, allocations: 4 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.328, allocations: 4 kB / 0.5672 GB, free: 14.57 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 (13): * Single equations (assignments): 13 * 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.0001257/0.3282, allocations: 134.4 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.3282, allocations: 15.91 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.3286, allocations: 163.3 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3286, allocations: 8 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.3286, allocations: 11.88 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3286, allocations: 3.984 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.3292, allocations: 402.8 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3292, allocations: 3.938 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.3293, allocations: 23.98 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3293, allocations: 0 / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3293, allocations: 8 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3293, allocations: 4.031 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3293, allocations: 0 / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.3296, allocations: 248.1 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.3296, allocations: 15.84 kB / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.3297, allocations: 4 kB / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.3298, allocations: 11.98 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3298, allocations: 7.984 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3298, allocations: 4 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.33, allocations: 185.1 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.33, allocations: 4 kB / 0.5684 GB, free: 13.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000264/0.3302, allocations: 27.94 kB / 0.5684 GB, free: 13.23 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 (13): * Single equations (assignments): 13 * 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.001823/0.3321, allocations: 491.6 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.3323, allocations: 91.89 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3323, allocations: 0 / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3324, allocations: 51.91 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3328, allocations: 31.83 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.3334, allocations: 311.7 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.3335, allocations: 105.6 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.356e-05/0.3336, allocations: 20.47 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.3336, allocations: 19.44 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3336, allocations: 0 / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of Templates: time 0.005063/0.3387, allocations: 1.649 MB / 0.5711 GB, free: 10.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.0940326809941325]