Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001168/0.001168, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001268/0.001268, allocations: 169 kB / 24.25 MB, free: 308 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.084/1.084, allocations: 158.6 MB / 186 MB, free: 2.914 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.1509/0.1509, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 7.922 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/3.009e-05, allocations: 8.219 kB / 347.8 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002154/0.002184, allocations: 1.738 MB / 349.5 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.003146, allocations: 0.7803 MB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.003228, allocations: 4 kB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.003542, allocations: 87.69 kB / 350.4 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.003766, allocations: 79.59 kB / 350.4 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.003952, allocations: 87.69 kB / 350.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.004097, allocations: 107.7 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.956e-05/0.004186, allocations: 240 / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.766e-05/0.004264, allocations: 75.73 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.928e-05/0.004353, allocations: 51.88 kB / 350.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.004374, allocations: 8 kB / 350.8 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.004443, allocations: 43.92 kB / 350.8 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.004504, allocations: 27.91 kB / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.004552, allocations: 19.88 kB / 350.9 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.004732, allocations: 107.6 kB / 351 MB, free: 6.465 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004734, allocations: 0 / 351 MB, free: 6.465 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004735, allocations: 0 / 351 MB, free: 6.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.00474, allocations: 0 / 351 MB, free: 6.465 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.0003531/0.005093, allocations: 451.8 kB / 351.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.005127, allocations: 8.031 kB / 351.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.00517, allocations: 12.89 kB / 351.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.005304, allocations: 164.3 kB / 351.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.005319, allocations: 384 / 351.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.005336, allocations: 4.375 kB / 351.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.005444, allocations: 62.88 kB / 351.6 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005453, allocations: 3.938 kB / 351.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.005463, allocations: 4 kB / 351.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.00547, allocations: 0 / 351.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.005503, allocations: 11.98 kB / 351.7 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.005773, allocations: 287.8 kB / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.105e-05/0.005864, allocations: 55.11 kB / 352 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.005894, allocations: 19.62 kB / 352 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.005907, allocations: 0 / 352 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.372e-05/0.005991, allocations: 65.05 kB / 352.1 MB, free: 5.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.005992, allocations: 0 / 352.1 MB, free: 5.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003426/0.006335, allocations: 161.3 kB / 352.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.006359, allocations: 51.41 kB / 352.3 MB, free: 4.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.006466, allocations: 246.6 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.006474, allocations: 25.7 kB / 352.6 MB, free: 4.688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.006516, allocations: 150.9 kB / 352.7 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.006537, allocations: 23.86 kB / 352.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.006566, allocations: 35.36 kB / 352.8 MB, free: 4.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.006629, allocations: 0.4923 MB / 353.3 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.006651, allocations: 16.38 kB / 353.3 MB, free: 3.949 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/0.006681, allocations: 35.3 kB / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.275e-05/0.006744, allocations: 59.28 kB / 353.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006746, allocations: 4 kB / 353.4 MB, free: 3.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.337e-05/0.006839, allocations: 89.53 kB / 353.5 MB, free: 3.742 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.006851, allocations: 8.031 kB / 353.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.006855, allocations: 0 / 353.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.006869, allocations: 0 / 353.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.84e-05/0.006937, allocations: 19.98 kB / 353.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.006943, allocations: 0 / 353.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.006967, allocations: 4 kB / 353.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.006973, allocations: 4 kB / 353.5 MB, free: 3.707 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 5.202e-05/0.007025, allocations: 172.4 kB / 353.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.007039, allocations: 15.91 kB / 353.7 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.00717, allocations: 115.1 kB / 353.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007172, allocations: 4 kB / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.007175, allocations: 0 / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.007179, allocations: 0 / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.007456, allocations: 396.9 kB / 354.2 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.007459, allocations: 4 kB / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.007498, allocations: 11.98 kB / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.007501, allocations: 0 / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.00751, allocations: 0 / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007511, allocations: 4 kB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007513, allocations: 0 / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.007668, allocations: 263.4 kB / 354.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.007681, allocations: 11.91 kB / 354.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.007697, allocations: 7.984 kB / 354.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.007738, allocations: 4 kB / 354.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.007771, allocations: 7.984 kB / 354.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.007782, allocations: 4 kB / 354.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.678e-05/0.007839, allocations: 179.1 kB / 354.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007839, allocations: 0 / 354.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000164/0.008003, allocations: 23.98 kB / 354.7 MB, free: 2.418 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.0008062/0.008809, allocations: 445.2 kB / 355.1 MB, free: 2.074 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.008916, allocations: 51.61 kB / 355.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.008917, allocations: 3.938 kB / 355.2 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.008953, allocations: 27.67 kB / 355.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.009173, allocations: 35.16 kB / 355.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.009493, allocations: 229.3 kB / 355.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.981e-05/0.009523, allocations: 71.33 kB / 355.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.046e-05/0.009553, allocations: 20.59 kB / 355.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.009582, allocations: 16.5 kB / 355.6 MB, free: 1.574 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009583, allocations: 3.938 kB / 355.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of Templates: time 0.003165/0.01275, allocations: 1.856 MB / 357.4 MB, free: 15.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.432495641056448]