Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.001463/0.001463, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001437/0.001437, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1784/0.1784, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.643e-05/4.946e-05, allocations: 8.219 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003686/0.003736, allocations: 1.73 MB / 349.5 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.005268, allocations: 0.7959 MB / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.005377, allocations: 4 kB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.005844, allocations: 55.69 kB / 350.3 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.006197, allocations: 55.75 kB / 350.4 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.006527, allocations: 87.7 kB / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.006765, allocations: 103.6 kB / 350.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.006917, allocations: 4.234 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.007062, allocations: 47.84 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.007193, allocations: 31.89 kB / 350.7 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.007221, allocations: 8 kB / 350.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.007338, allocations: 43.86 kB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.007428, allocations: 35.86 kB / 350.7 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.007489, allocations: 19.92 kB / 350.8 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.007718, allocations: 111.5 kB / 350.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.007723, allocations: 0 / 350.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.007725, allocations: 0 / 350.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.007732, allocations: 3.984 kB / 350.9 MB, free: 6.559 MB / 282.7 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.0005491/0.008281, allocations: 471.7 kB / 351.3 MB, free: 6.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.008328, allocations: 8.031 kB / 351.3 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.008388, allocations: 16.84 kB / 351.4 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.008588, allocations: 160.3 kB / 351.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.008614, allocations: 4.375 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.00864, allocations: 4.375 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.008799, allocations: 62.94 kB / 351.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.008814, allocations: 3.938 kB / 351.6 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.008825, allocations: 0 / 351.6 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.008834, allocations: 0 / 351.6 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.008874, allocations: 11.98 kB / 351.6 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.009277, allocations: 295.8 kB / 351.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.009417, allocations: 67.09 kB / 352 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.00945, allocations: 15.62 kB / 352 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.009469, allocations: 4 kB / 352 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.009594, allocations: 65.05 kB / 352 MB, free: 5.258 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.009596, allocations: 0 / 352 MB, free: 5.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004782/0.01007, allocations: 157.3 kB / 352.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.01012, allocations: 55.39 kB / 352.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.01029, allocations: 277.3 kB / 352.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.0103, allocations: 37.64 kB / 352.6 MB, free: 4.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.01036, allocations: 162.9 kB / 352.7 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.0104, allocations: 31.77 kB / 352.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.01045, allocations: 23.38 kB / 352.8 MB, free: 4.473 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.01053, allocations: 0.5079 MB / 353.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.01057, allocations: 8.375 kB / 353.3 MB, free: 3.945 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-05/0.01061, allocations: 35.36 kB / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/0.01067, allocations: 47.31 kB / 353.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01067, allocations: 7.938 kB / 353.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.01082, allocations: 97.56 kB / 353.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.01085, allocations: 8.031 kB / 353.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.01086, allocations: 0 / 353.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.01088, allocations: 0 / 353.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.01099, allocations: 23.94 kB / 353.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.011, allocations: 3.984 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.01104, allocations: 0 / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.01105, allocations: 4 kB / 353.5 MB, free: 3.699 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.132e-05/0.01113, allocations: 164.5 kB / 353.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.01115, allocations: 15.91 kB / 353.7 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.01136, allocations: 111.2 kB / 353.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01137, allocations: 4 kB / 353.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.01137, allocations: 0 / 353.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01138, allocations: 0 / 353.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.01176, allocations: 409 kB / 354.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01176, allocations: 0 / 354.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.0118, allocations: 8 kB / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.0118, allocations: 4 kB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.01182, allocations: 3.984 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.01182, allocations: 0 / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01182, allocations: 0 / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.01198, allocations: 271.4 kB / 354.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.012, allocations: 11.95 kB / 354.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.01202, allocations: 0 / 354.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.01207, allocations: 4 kB / 354.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.01212, allocations: 15.92 kB / 354.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.01214, allocations: 4 kB / 354.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.353e-05/0.01221, allocations: 196.3 kB / 354.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01221, allocations: 0 / 354.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.0124, allocations: 31.88 kB / 354.7 MB, free: 2.383 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001218/0.01362, allocations: 439.3 kB / 355.2 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.01379, allocations: 55.55 kB / 355.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01379, allocations: 0 / 355.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.01383, allocations: 31.61 kB / 355.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.01413, allocations: 31.83 kB / 355.3 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.01466, allocations: 261.9 kB / 355.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.0147, allocations: 75.33 kB / 355.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.623e-05/0.01474, allocations: 16.61 kB / 355.6 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.01478, allocations: 20.48 kB / 355.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of SimCode: time 1.623e-06/0.01478, allocations: 0 / 355.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of Templates: time 0.005022/0.0198, allocations: 1.861 MB / 357.5 MB, free: 15.67 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.864363893866539]