Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001384/0.001384, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.001519/0.001519, allocations: 214 kB / 24.48 MB, free: 3.93 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.599/1.599, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.242/0.242, allocations: 46.97 MB / 361.6 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 179] 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 60.14 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3504, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003257/0.3536, allocations: 1.608 MB / 0.5634 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3548, allocations: 0.5309 MB / 0.5639 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.3548, allocations: 7.938 kB / 0.5639 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.3551, allocations: 23.86 kB / 0.5639 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.3554, allocations: 83.61 kB / 0.564 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.3556, allocations: 99.94 kB / 0.5641 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3558, allocations: 67.84 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3559, allocations: 15.98 kB / 0.5642 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.356, allocations: 31.78 kB / 0.5642 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.097e-05/0.3561, allocations: 27.86 kB / 0.5643 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3561, allocations: 4 kB / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.3563, allocations: 91.94 kB / 0.5644 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.3563, allocations: 23.86 kB / 0.5644 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.3564, allocations: 23.86 kB / 0.5644 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.3566, allocations: 153.9 kB / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3566, allocations: 0 / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3566, allocations: 0 / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3567, allocations: 0 / 0.5645 GB, free: 1.355 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005913/0.3572, allocations: 341.6 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3573, allocations: 8.031 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.3573, allocations: 8.891 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.3576, allocations: 138.3 kB / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3576, allocations: 4.375 kB / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3576, allocations: 4.375 kB / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.3578, allocations: 101.2 kB / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3578, allocations: 0 / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3578, allocations: 0 / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3578, allocations: 0 / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.358, allocations: 27.97 kB / 0.5652 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.3584, allocations: 248.4 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3585, allocations: 58.47 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.3586, allocations: 24.97 kB / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.3586, allocations: 4 kB / 0.5655 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3586, allocations: 46.44 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.3586, allocations: 0 / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006553/0.3593, allocations: 177.5 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.3594, allocations: 81.05 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3596, allocations: 160.5 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3596, allocations: 25.7 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.3597, allocations: 104 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.3597, allocations: 23.86 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.3597, allocations: 21.7 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3599, allocations: 322.8 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.075e-05/0.36, allocations: 35.97 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.3601, allocations: 71.39 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.3603, allocations: 68.77 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3603, allocations: 0 / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002466/0.3605, allocations: 121.6 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3605, allocations: 7.984 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3605, allocations: 0 / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3606, allocations: 4 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3607, allocations: 19.92 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3607, allocations: 4 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.3607, allocations: 0.6562 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3607, allocations: 4 kB / 0.5667 GB, free: 14.93 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 (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 prepare postOptimizeDAE: time 0.0001156/0.3609, allocations: 125.7 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.3609, allocations: 15.89 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.3612, allocations: 122.2 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-06/0.3612, allocations: 8 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3612, allocations: 0 / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3612, allocations: 0 / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.3617, allocations: 338 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3617, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.3618, allocations: 19.98 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3618, allocations: 0 / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3618, allocations: 4 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3618, allocations: 0 / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.3618, allocations: 3.938 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.3621, allocations: 203.4 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.3621, allocations: 11.95 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.3622, allocations: 0 / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.3622, allocations: 4 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3623, allocations: 19.86 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.3623, allocations: 0 / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3624, allocations: 123.2 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3624, allocations: 0 / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3627, allocations: 43.86 kB / 0.5677 GB, free: 13.83 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 (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.001929/0.3646, allocations: 0.5304 MB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.3649, allocations: 71.94 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3649, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.608e-05/0.365, allocations: 35.92 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.3653, allocations: 19.98 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.3658, allocations: 219.6 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.102e-05/0.3659, allocations: 83.08 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.366, allocations: 23.42 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.366, allocations: 0 / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of Templates: time 0.006272/0.3722, allocations: 2.184 MB / 0.5708 GB, free: 10.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 8.063398025929928]