Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001577/0.001577, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001152/0.001152, allocations: 165.5 kB / 24.99 MB, free: 8.793 MB / 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2859/0.2859, allocations: 32.8 MB / 294.6 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 376.1 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.429e-05/3.699e-05, allocations: 2.312 kB / 376.1 MB, free: 4.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003807/0.003844, allocations: 1.762 MB / 377.8 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.005805, allocations: 1.005 MB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.005923, allocations: 0 / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.006345, allocations: 47.64 kB / 378.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.006836, allocations: 95.53 kB / 379 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.007116, allocations: 79.59 kB / 379.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.007332, allocations: 107.6 kB / 379.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.00744, allocations: 7.984 kB / 379.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.007579, allocations: 59.77 kB / 379.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.166e-05/0.007671, allocations: 23.92 kB / 379.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.007692, allocations: 4 kB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.007812, allocations: 47.91 kB / 379.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.007875, allocations: 19.92 kB / 379.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.007928, allocations: 23.92 kB / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.008181, allocations: 99.59 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.008186, allocations: 0 / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.008187, allocations: 4 kB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.008192, allocations: 0 / 379.5 MB, free: 1.383 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006205/0.008813, allocations: 451.8 kB / 379.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.008861, allocations: 12.03 kB / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.008928, allocations: 12.84 kB / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.009165, allocations: 153.1 kB / 380.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.009192, allocations: 4.375 kB / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.009215, allocations: 384 / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.009395, allocations: 62.94 kB / 380.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.009411, allocations: 3.938 kB / 380.1 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.009426, allocations: 8 kB / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.009435, allocations: 0 / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/0.009491, allocations: 15.92 kB / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.00989, allocations: 287.8 kB / 380.4 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.01004, allocations: 47.17 kB / 380.5 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.01008, allocations: 27.61 kB / 380.5 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.0101, allocations: 0 / 380.5 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.01024, allocations: 68.98 kB / 380.6 MB, free: 120 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.01024, allocations: 0 / 380.6 MB, free: 120 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005725/0.01081, allocations: 157.7 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.01085, allocations: 59.34 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.01105, allocations: 238.3 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.01107, allocations: 25.7 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.01115, allocations: 154.9 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.01118, allocations: 23.8 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.01124, allocations: 27.36 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.01144, allocations: 0.4962 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.01148, allocations: 12.06 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-05/0.01154, allocations: 35.36 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.074e-05/0.01163, allocations: 59.23 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01163, allocations: 4 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.0118, allocations: 101.5 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.01182, allocations: 4 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01183, allocations: 0 / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01185, allocations: 0 / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.01197, allocations: 19.98 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.01198, allocations: 0 / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.01203, allocations: 0 / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01204, allocations: 8.031 kB / 382 MB, free: 14.62 MB / 362.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.0001135/0.01216, allocations: 168.2 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.01219, allocations: 11.95 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.01242, allocations: 107.2 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.01242, allocations: 4 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01243, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01243, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.01289, allocations: 396.9 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.0129, allocations: 0 / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.01295, allocations: 15.97 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.01296, allocations: 4 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01297, allocations: 0 / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.01297, allocations: 0 / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01298, allocations: 0 / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.01323, allocations: 259.4 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.01325, allocations: 11.89 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.01328, allocations: 8 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.01335, allocations: 0 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.01339, allocations: 11.92 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.01341, allocations: 4 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.794e-05/0.0135, allocations: 180.1 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0135, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.01368, allocations: 27.92 kB / 383.2 MB, free: 13.36 MB / 362.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.001031/0.01471, allocations: 435.6 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.01483, allocations: 59.59 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01484, allocations: 0 / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.01488, allocations: 27.62 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01514, allocations: 34.59 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.01554, allocations: 218 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.004e-05/0.01559, allocations: 71.33 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.14e-05/0.01563, allocations: 13.28 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.01567, allocations: 20.48 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01567, allocations: 0 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Templates: time 0.003997/0.01966, allocations: 1.867 MB / 385.9 MB, free: 10.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.2806963571347296]