Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.00128/0.00128, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001636/0.001636, allocations: 169.3 kB / 24.24 MB, free: 316 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 0.9602/0.9602, allocations: 158.6 MB / 186 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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.1352/0.1352, 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 347.7 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.013e-05, allocations: 2.312 kB / 347.7 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.005535/0.005566, allocations: 1.823 MB / 349.6 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.007114, allocations: 1.587 MB / 351.1 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.774e-05/0.007192, allocations: 0 / 351.1 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.007478, allocations: 55.62 kB / 351.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.0108, allocations: 103.4 kB / 351.3 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.01105, allocations: 139.6 kB / 351.4 MB, free: 6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.01123, allocations: 191.3 kB / 351.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.01127, allocations: 5.812 kB / 351.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.01138, allocations: 91.75 kB / 351.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.01152, allocations: 63.78 kB / 351.8 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.01154, allocations: 4 kB / 351.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.01165, allocations: 67.86 kB / 351.8 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.0117, allocations: 39.83 kB / 351.9 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.01175, allocations: 31.86 kB / 351.9 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.01196, allocations: 139.5 kB / 352.1 MB, free: 5.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01196, allocations: 0 / 352.1 MB, free: 5.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01196, allocations: 8 kB / 352.1 MB, free: 5.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.01196, allocations: 0 / 352.1 MB, free: 5.371 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004383/0.0124, allocations: 499.5 kB / 352.6 MB, free: 4.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.01244, allocations: 8.031 kB / 352.6 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.0125, allocations: 20.84 kB / 352.6 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.01268, allocations: 176.3 kB / 352.8 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.0127, allocations: 4.375 kB / 352.8 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.01271, allocations: 4.375 kB / 352.8 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.01287, allocations: 173 kB / 352.9 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.01288, allocations: 7.938 kB / 352.9 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.01289, allocations: 0 / 352.9 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.0129, allocations: 0 / 352.9 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/0.01295, allocations: 19.92 kB / 353 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.01308, allocations: 168.2 kB / 353.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.01321, allocations: 94.2 kB / 353.2 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.01325, allocations: 31.38 kB / 353.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.01327, allocations: 15.97 kB / 353.3 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.01339, allocations: 112.3 kB / 353.4 MB, free: 3.871 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.01339, allocations: 0 / 353.4 MB, free: 3.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003206/0.01371, allocations: 145.4 kB / 353.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.01375, allocations: 132.5 kB / 353.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.01391, allocations: 262.8 kB / 353.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.01392, allocations: 25.7 kB / 353.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.01396, allocations: 158.9 kB / 354.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.01399, allocations: 23.8 kB / 354.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.01403, allocations: 35.36 kB / 354.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.01408, allocations: 0.504 MB / 354.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.01411, allocations: 20.42 kB / 354.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.712e-05/0.01417, allocations: 125 kB / 354.8 MB, free: 2.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.932e-05/0.01425, allocations: 82.67 kB / 354.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01425, allocations: 0 / 354.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001499/0.0144, allocations: 121.5 kB / 355 MB, free: 2.113 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.01441, allocations: 4 kB / 355 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01442, allocations: 8.031 kB / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.01443, allocations: 4 kB / 355 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.01453, allocations: 23.92 kB / 355 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.01453, allocations: 0 / 355 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.01459, allocations: 12 kB / 355 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.0146, allocations: 4 kB / 355 MB, free: 2.059 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 5.793e-05/0.01466, allocations: 164.6 kB / 355.2 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.01468, allocations: 23.91 kB / 355.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.01487, allocations: 142.6 kB / 355.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01488, allocations: 8 kB / 355.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.01488, allocations: 256 / 355.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01488, allocations: 0 / 355.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.01499, allocations: 168.5 kB / 355.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01499, allocations: 0 / 355.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.01502, allocations: 11.98 kB / 355.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01502, allocations: 11.88 kB / 355.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.01503, allocations: 0 / 355.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01503, allocations: 3.938 kB / 355.6 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01504, allocations: 4 kB / 355.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.01519, allocations: 175.9 kB / 355.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.01521, allocations: 15.91 kB / 355.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.01523, allocations: 4 kB / 355.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.797e-05/0.01528, allocations: 15.92 kB / 355.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.01532, allocations: 7.984 kB / 355.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.01533, allocations: 4 kB / 355.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.01541, allocations: 189.4 kB / 356 MB, free: 1.047 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01541, allocations: 0 / 356 MB, free: 1.047 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.01564, allocations: 39.94 kB / 356 MB, free: 1.008 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003007/0.01865, allocations: 448.7 kB / 356.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.01885, allocations: 75.59 kB / 356.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01885, allocations: 0 / 356.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.48e-05/0.01892, allocations: 35.98 kB / 356.6 MB, free: 0.543 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.01926, allocations: 67.89 kB / 356.6 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.01972, allocations: 265.6 kB / 356.9 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.576e-05/0.01976, allocations: 72 kB / 356.9 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.01984, allocations: 37.56 kB / 357 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.01989, allocations: 24.48 kB / 357 MB, free: 36 kB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01989, allocations: 0 / 357 MB, free: 36 kB / 282.7 MB Notification: Performance of Templates: time 0.006463/0.02636, allocations: 2.952 MB / 360 MB, free: 13.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.1329950040671974]