Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001165/0.001165, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001135/0.001135, allocations: 173 kB / 24.06 MB, free: 456 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.032/1.032, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1327/0.1327, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.658e-05, allocations: 9.344 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002185/0.002211, allocations: 1.922 MB / 350.1 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009226/0.003134, allocations: 0.8231 MB / 351 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.003216, allocations: 4 kB / 351 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.003472, allocations: 51.64 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.003642, allocations: 55.64 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.003851, allocations: 107.7 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.003991, allocations: 135.5 kB / 351.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.004077, allocations: 25.61 kB / 351.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.004164, allocations: 79.73 kB / 351.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.004236, allocations: 31.84 kB / 351.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.004252, allocations: 8 kB / 351.4 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.554e-05/0.004318, allocations: 51.97 kB / 351.5 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.004358, allocations: 23.92 kB / 351.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.004394, allocations: 31.84 kB / 351.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004545, allocations: 131.4 kB / 351.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.004549, allocations: 0 / 351.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00455, allocations: 0 / 351.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.004555, allocations: 0 / 351.7 MB, free: 5.598 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004509/0.005006, allocations: 0.4935 MB / 352.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.005044, allocations: 8.031 kB / 352.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.005088, allocations: 24.84 kB / 352.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.005231, allocations: 172.2 kB / 352.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.005249, allocations: 4.375 kB / 352.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.005269, allocations: 8.375 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.00545, allocations: 131.7 kB / 352.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.005459, allocations: 3.938 kB / 352.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.005469, allocations: 11.98 kB / 352.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.005475, allocations: 3.938 kB / 352.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.005509, allocations: 19.98 kB / 352.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.005781, allocations: 0.5566 MB / 353.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.005912, allocations: 75.06 kB / 353.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.005933, allocations: 23.67 kB / 353.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.005946, allocations: 0 / 353.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.025e-05/0.006026, allocations: 98.69 kB / 353.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.006027, allocations: 0 / 353.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001447/0.006172, allocations: 105.5 kB / 353.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.169e-05/0.006184, allocations: 51.41 kB / 353.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.006259, allocations: 238.6 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.006267, allocations: 29.7 kB / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.006309, allocations: 158.8 kB / 353.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.006324, allocations: 39.72 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.006352, allocations: 31.38 kB / 353.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.928e-05/0.006392, allocations: 0.5039 MB / 354.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.006408, allocations: 12 kB / 354.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.006434, allocations: 62.34 kB / 354.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.006484, allocations: 86.72 kB / 354.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006486, allocations: 0 / 354.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.706e-05/0.006583, allocations: 109.4 kB / 354.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.006593, allocations: 4 kB / 354.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006598, allocations: 4 kB / 354.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.00661, allocations: 0 / 354.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.006665, allocations: 27.92 kB / 354.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.006669, allocations: 4.125 kB / 354.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.006701, allocations: 11.94 kB / 354.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.006707, allocations: 4 kB / 354.8 MB, free: 2.227 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 4.682e-05/0.006754, allocations: 166.9 kB / 354.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.006769, allocations: 15.91 kB / 354.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.00687, allocations: 103.1 kB / 355 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006872, allocations: 0 / 355 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.006874, allocations: 3.984 kB / 355 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.006876, allocations: 0 / 355 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.839e-05/0.006945, allocations: 133.1 kB / 355.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006946, allocations: 4 kB / 355.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.00699, allocations: 19.92 kB / 355.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006992, allocations: 0 / 355.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.006999, allocations: 7.938 kB / 355.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.007, allocations: 0 / 355.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.007001, allocations: 4 kB / 355.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.007113, allocations: 148.2 kB / 355.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.007125, allocations: 11.95 kB / 355.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.007138, allocations: 4 kB / 355.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.007161, allocations: 3.984 kB / 355.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.007185, allocations: 16.02 kB / 355.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.007195, allocations: 4 kB / 355.4 MB, free: 1.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.456e-05/0.007229, allocations: 165 kB / 355.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007229, allocations: 0 / 355.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.007373, allocations: 35.88 kB / 355.6 MB, free: 1.328 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007521/0.008125, allocations: 390.2 kB / 356 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.008227, allocations: 63.52 kB / 356 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.008229, allocations: 0 / 356 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.008259, allocations: 31.8 kB / 356.1 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.008434, allocations: 43.84 kB / 356.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.008731, allocations: 256.4 kB / 356.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.259e-05/0.008754, allocations: 71.84 kB / 356.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.558e-05/0.008789, allocations: 13.14 kB / 356.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.008849, allocations: 98.17 kB / 356.5 MB, free: 428 kB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.00885, allocations: 0 / 356.5 MB, free: 428 kB / 282.7 MB Notification: Performance of Templates: time 0.003718/0.01257, allocations: 2.244 MB / 358.8 MB, free: 14.2 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.3477881709113717]