Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.002321/0.002321, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.002399/0.002399, allocations: 169.2 kB / 23.53 MB, free: 0.8984 MB / 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.756/1.756, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.2382/0.2382, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0 / 347 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.296e-05/4.589e-05, allocations: 2.312 kB / 347 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.004431/0.004477, allocations: 1.704 MB / 348.7 MB, free: 8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.006473, allocations: 0.7883 MB / 349.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.00659, allocations: 3.938 kB / 349.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.007159, allocations: 43.77 kB / 349.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.007481, allocations: 59.7 kB / 349.6 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.00784, allocations: 87.69 kB / 349.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.008061, allocations: 99.62 kB / 349.8 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.008202, allocations: 12.22 kB / 349.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.00834, allocations: 43.84 kB / 349.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.008448, allocations: 27.91 kB / 349.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.008481, allocations: 7.938 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.008607, allocations: 43.92 kB / 349.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.008688, allocations: 23.92 kB / 350 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.008751, allocations: 23.91 kB / 350 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.009043, allocations: 123.6 kB / 350.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.009049, allocations: 0 / 350.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.009051, allocations: 0 / 350.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.009057, allocations: 0 / 350.1 MB, free: 6.613 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.0006636/0.009721, allocations: 459.5 kB / 350.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.009768, allocations: 8.031 kB / 350.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.699e-05/0.009845, allocations: 16.83 kB / 350.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.0101, allocations: 152.4 kB / 350.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.01012, allocations: 4.375 kB / 350.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.01015, allocations: 8.359 kB / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.01032, allocations: 54.23 kB / 350.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.01034, allocations: 7.938 kB / 350.8 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.01035, allocations: 0 / 350.8 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.01036, allocations: 3.938 kB / 350.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.01046, allocations: 15.98 kB / 350.8 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.0109, allocations: 307.7 kB / 351.1 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.01113, allocations: 63.16 kB / 351.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.01121, allocations: 27.61 kB / 351.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.01123, allocations: 3.984 kB / 351.2 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.01143, allocations: 80.98 kB / 351.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.01143, allocations: 0 / 351.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007764/0.0122, allocations: 173.4 kB / 351.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.01224, allocations: 59.39 kB / 351.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.01249, allocations: 261.9 kB / 351.8 MB, free: 4.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.01251, allocations: 25.7 kB / 351.8 MB, free: 4.742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.01259, allocations: 158.9 kB / 352 MB, free: 4.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.01264, allocations: 31.78 kB / 352 MB, free: 4.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.0127, allocations: 31.38 kB / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.01285, allocations: 0.504 MB / 352.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.01292, allocations: 16 kB / 352.5 MB, free: 3.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-05/0.013, allocations: 43.36 kB / 352.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.01315, allocations: 79.22 kB / 352.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01316, allocations: 0 / 352.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002504/0.01341, allocations: 101.6 kB / 352.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.01343, allocations: 4 kB / 352.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.01344, allocations: 4 kB / 352.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.01346, allocations: 384 / 352.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.01361, allocations: 19.92 kB / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.01362, allocations: 0 / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.01369, allocations: 12.03 kB / 352.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01371, allocations: 4 kB / 352.8 MB, free: 3.695 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 0.0001042/0.01381, allocations: 172.5 kB / 353 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.01385, allocations: 15.91 kB / 353 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.01415, allocations: 119.2 kB / 353.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.01415, allocations: 0 / 353.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.01416, allocations: 0 / 353.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01416, allocations: 0 / 353.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.01467, allocations: 421 kB / 353.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01467, allocations: 0 / 353.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.01473, allocations: 19.95 kB / 353.5 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.01473, allocations: 4 kB / 353.5 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.01475, allocations: 0 / 353.5 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01475, allocations: 3.938 kB / 353.5 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01475, allocations: 0 / 353.5 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.01504, allocations: 275.4 kB / 353.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.01507, allocations: 15.89 kB / 353.8 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.0151, allocations: 8 kB / 353.8 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.01521, allocations: 0 / 353.8 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.01527, allocations: 7.984 kB / 353.8 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.01529, allocations: 4 kB / 353.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001366/0.01543, allocations: 195.1 kB / 354 MB, free: 2.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01543, allocations: 0 / 354 MB, free: 2.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004454/0.01587, allocations: 27.92 kB / 354.1 MB, free: 2.344 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.004375/0.02025, allocations: 0.4896 MB / 354.5 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.02053, allocations: 71.53 kB / 354.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.02054, allocations: 0 / 354.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.02064, allocations: 39.61 kB / 354.7 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.02121, allocations: 29.61 kB / 354.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006713/0.02188, allocations: 241.5 kB / 354.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.02199, allocations: 100.9 kB / 355 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.02205, allocations: 16.8 kB / 355 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.02211, allocations: 24.48 kB / 355.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02211, allocations: 0 / 355.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of Templates: time 0.007671/0.02978, allocations: 1.835 MB / 356.9 MB, free: 15.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.858451232896186]