Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.002126/0.002126, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002492/0.002492, allocations: 165.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.727/1.727, allocations: 158.6 MB / 185.3 MB, free: 2.891 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.2217/0.2217, allocations: 32.38 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.248e-05, allocations: 10.25 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003391/0.003423, allocations: 1.903 MB / 348.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.004867, allocations: 0.8232 MB / 349.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.004988, allocations: 0 / 349.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.005461, allocations: 39.7 kB / 349.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.005745, allocations: 63.58 kB / 349.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.006028, allocations: 107.7 kB / 349.9 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.006248, allocations: 143.5 kB / 350.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.006376, allocations: 17.67 kB / 350.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.006518, allocations: 83.8 kB / 350.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.006625, allocations: 31.84 kB / 350.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.006654, allocations: 8 kB / 350.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.006757, allocations: 47.91 kB / 350.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.006828, allocations: 27.86 kB / 350.3 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.006894, allocations: 31.91 kB / 350.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.007169, allocations: 151.4 kB / 350.5 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.007174, allocations: 0 / 350.5 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007176, allocations: 0 / 350.5 MB, free: 6.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.007184, allocations: 0 / 350.5 MB, free: 6.238 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.0007091/0.007893, allocations: 0.5126 MB / 351 MB, free: 5.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.007935, allocations: 8.031 kB / 351 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.008006, allocations: 20.84 kB / 351 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.00826, allocations: 164.4 kB / 351.2 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.008279, allocations: 8.375 kB / 351.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.008306, allocations: 4.375 kB / 351.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.008533, allocations: 147.8 kB / 351.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.008546, allocations: 3.938 kB / 351.3 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.008561, allocations: 4 kB / 351.3 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.008567, allocations: 8 kB / 351.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.008692, allocations: 35.98 kB / 351.4 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.009238, allocations: 0.6029 MB / 352 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.009594, allocations: 87.09 kB / 352.1 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.009673, allocations: 31.67 kB / 352.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.009692, allocations: 4 kB / 352.1 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.009871, allocations: 106.7 kB / 352.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.009872, allocations: 4 kB / 352.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003556/0.01023, allocations: 137.5 kB / 352.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.01026, allocations: 51.41 kB / 352.4 MB, free: 4.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.01044, allocations: 254.7 kB / 352.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.01045, allocations: 25.7 kB / 352.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.01054, allocations: 178.7 kB / 352.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.01056, allocations: 31.69 kB / 352.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.01061, allocations: 39.36 kB / 352.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01071, allocations: 0.504 MB / 353.4 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.05e-05/0.01078, allocations: 23.98 kB / 353.5 MB, free: 3.027 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.01086, allocations: 74.42 kB / 353.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.011, allocations: 110.3 kB / 353.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.011, allocations: 0 / 353.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002084/0.01121, allocations: 137.8 kB / 353.8 MB, free: 2.664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01122, allocations: 4.125 kB / 353.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01123, allocations: 11.94 kB / 353.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.01125, allocations: 0 / 353.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.01134, allocations: 27.92 kB / 353.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.01135, allocations: 4 kB / 353.8 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.01141, allocations: 4 kB / 353.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01142, allocations: 4 kB / 353.8 MB, free: 2.609 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 9.665e-05/0.01151, allocations: 184.4 kB / 354 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.01154, allocations: 19.89 kB / 354 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.0118, allocations: 119.1 kB / 354.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.0118, allocations: 7.938 kB / 354.1 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01181, allocations: 0 / 354.1 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01181, allocations: 0 / 354.1 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.01194, allocations: 172.5 kB / 354.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01194, allocations: 0 / 354.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.01201, allocations: 15.98 kB / 354.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01201, allocations: 0 / 354.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.01203, allocations: 8 kB / 354.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01203, allocations: 0 / 354.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01203, allocations: 0 / 354.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.01237, allocations: 196.2 kB / 354.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.01239, allocations: 11.94 kB / 354.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.01241, allocations: 4 kB / 354.5 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.455e-05/0.01247, allocations: 8 kB / 354.6 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.01252, allocations: 3.984 kB / 354.6 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.01253, allocations: 4 kB / 354.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.01264, allocations: 185 kB / 354.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01264, allocations: 4 kB / 354.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.01287, allocations: 31.89 kB / 354.8 MB, free: 1.574 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.002857/0.01572, allocations: 449.9 kB / 355.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.01596, allocations: 79.58 kB / 355.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01596, allocations: 0 / 355.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.01604, allocations: 47.61 kB / 355.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.01638, allocations: 53.45 kB / 355.4 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.01702, allocations: 264.1 kB / 355.6 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.854e-05/0.01712, allocations: 103 kB / 355.7 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.28e-05/0.01718, allocations: 13.14 kB / 355.8 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.01723, allocations: 20.5 kB / 355.8 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01723, allocations: 0 / 355.8 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of Templates: time 0.006995/0.02423, allocations: 2.044 MB / 357.8 MB, free: 14.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.569273005006835]