Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.00205/0.00205, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002141/0.002141, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 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.603/1.603, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3879/0.3879, allocations: 32.8 MB / 293.9 MB, free: 1.18 MB / 266.7 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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.456e-05, allocations: 5.547 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003628/0.003662, allocations: 1.607 MB / 376.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.00497, allocations: 0.5609 MB / 377.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.303e-05/0.005053, allocations: 3.938 kB / 377.4 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.005331, allocations: 23.8 kB / 377.5 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.005724, allocations: 83.55 kB / 377.6 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.0061, allocations: 111.7 kB / 377.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.006315, allocations: 75.7 kB / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.006421, allocations: 15.98 kB / 377.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.048e-05/0.006512, allocations: 31.91 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.006616, allocations: 23.91 kB / 377.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.00664, allocations: 4 kB / 377.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.006862, allocations: 95.81 kB / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.006919, allocations: 15.92 kB / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.00696, allocations: 23.94 kB / 377.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.007317, allocations: 143.5 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.007328, allocations: 11.98 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.007329, allocations: 0 / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.007335, allocations: 0 / 378.1 MB, free: 2.125 MB / 346.7 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.0006618/0.007997, allocations: 431.5 kB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.008039, allocations: 12.03 kB / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.008111, allocations: 12.89 kB / 378.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.008354, allocations: 142.6 kB / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.008365, allocations: 384 / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.00839, allocations: 8.375 kB / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.008592, allocations: 91.33 kB / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.008607, allocations: 4.141 kB / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.00862, allocations: 4.125 kB / 378.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.008624, allocations: 0 / 378.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/0.008714, allocations: 19.92 kB / 378.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.00924, allocations: 287.8 kB / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.009369, allocations: 47.05 kB / 379.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.989e-05/0.009439, allocations: 23.77 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.009463, allocations: 4 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.009507, allocations: 45.27 kB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.009508, allocations: 0 / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006382/0.01015, allocations: 145.4 kB / 379.3 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.01021, allocations: 77.11 kB / 379.4 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.01045, allocations: 209.9 kB / 379.6 MB, free: 420 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.01048, allocations: 29.7 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/0.01057, allocations: 138.9 kB / 379.8 MB, free: 240 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.01061, allocations: 31.73 kB / 379.8 MB, free: 208 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.01067, allocations: 31.38 kB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000298/0.01097, allocations: 0.4962 MB / 380.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.01104, allocations: 15.98 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.01115, allocations: 72.98 kB / 380.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.0113, allocations: 47.67 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.0113, allocations: 0 / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000222/0.01152, allocations: 89.5 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.01154, allocations: 4 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.01155, allocations: 4.344 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.01156, allocations: 0 / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.01167, allocations: 12 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.01168, allocations: 4 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.01174, allocations: 7.984 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.01175, allocations: 7.984 kB / 380.6 MB, free: 15.37 MB / 362.7 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.000147/0.0119, allocations: 160.6 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.01195, allocations: 15.83 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.01223, allocations: 90.44 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01223, allocations: 4.281 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.01224, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.01224, allocations: 3.984 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.01282, allocations: 377.2 kB / 381.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01282, allocations: 0 / 381.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.01289, allocations: 16 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01289, allocations: 0 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.0129, allocations: 3.984 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.0129, allocations: 0 / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01291, allocations: 4 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.01323, allocations: 243.7 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.01325, allocations: 3.953 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.01327, allocations: 4 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.01334, allocations: 4 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.01338, allocations: 7.984 kB / 381.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.01339, allocations: 0 / 381.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.01354, allocations: 165.2 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01354, allocations: 0 / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003065/0.01384, allocations: 35.88 kB / 381.7 MB, free: 14.18 MB / 362.7 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 (7): * Single equations (assignments): 7 * 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.003467/0.01731, allocations: 0.5463 MB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.01756, allocations: 59.58 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.01756, allocations: 4 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.01765, allocations: 31.67 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.01798, allocations: 19.98 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.01853, allocations: 190.4 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.01863, allocations: 87.2 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.389e-05/0.01873, allocations: 25 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.01878, allocations: 20.48 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01878, allocations: 0 / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Templates: time 0.006322/0.0251, allocations: 2.018 MB / 384.7 MB, free: 11.35 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.09030322090257]