Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.0007789/0.0007789, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008234/0.0008234, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.8061/0.8061, allocations: 158.6 MB / 185.7 MB, free: 3.047 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.1276/0.1276, allocations: 32.36 MB / 270.3 MB, free: 14.98 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.799e-05, allocations: 5.938 kB / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002536/0.002563, allocations: 1.68 MB / 409.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009635/0.003527, allocations: 0.7763 MB / 410.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.003622, allocations: 3.938 kB / 410.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.003976, allocations: 47.81 kB / 410.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.004245, allocations: 59.69 kB / 410.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.00453, allocations: 87.64 kB / 410.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.004733, allocations: 107.6 kB / 410.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.004843, allocations: 8.234 kB / 410.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.251e-05/0.004935, allocations: 47.84 kB / 411 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.005019, allocations: 27.89 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.005038, allocations: 4 kB / 411 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.005134, allocations: 43.92 kB / 411.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.005195, allocations: 27.86 kB / 411.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.005237, allocations: 23.92 kB / 411.1 MB, free: 9.988 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.005425, allocations: 111.6 kB / 411.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005428, allocations: 0 / 411.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005429, allocations: 4 kB / 411.2 MB, free: 9.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.005435, allocations: 7.922 kB / 411.2 MB, free: 9.867 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.0004629/0.005897, allocations: 353.5 kB / 411.6 MB, free: 9.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.005935, allocations: 8.031 kB / 411.6 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.005979, allocations: 16.84 kB / 411.6 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.006204, allocations: 157.5 kB / 411.8 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.006219, allocations: 4.375 kB / 411.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.00624, allocations: 384 / 411.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.006381, allocations: 58.23 kB / 411.8 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.006398, allocations: 3.938 kB / 411.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.006408, allocations: 4 kB / 411.8 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.006413, allocations: 0 / 411.8 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.511e-05/0.006468, allocations: 23.98 kB / 411.9 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.006784, allocations: 236.5 kB / 412.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.006916, allocations: 58.61 kB / 412.1 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.006953, allocations: 24.78 kB / 412.2 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.006974, allocations: 3.984 kB / 412.2 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.007112, allocations: 67.39 kB / 412.2 MB, free: 8.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.007113, allocations: 4 kB / 412.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004365/0.007549, allocations: 181.3 kB / 412.4 MB, free: 8.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.007588, allocations: 55.41 kB / 412.5 MB, free: 8.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.007758, allocations: 226.8 kB / 412.7 MB, free: 8.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.007771, allocations: 29.7 kB / 412.7 MB, free: 8.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.007825, allocations: 104.1 kB / 412.8 MB, free: 8.125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.007857, allocations: 31.73 kB / 412.9 MB, free: 8.094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.00789, allocations: 25.66 kB / 412.9 MB, free: 8.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.007985, allocations: 326.8 kB / 413.2 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.008028, allocations: 19.98 kB / 413.2 MB, free: 7.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.788e-05/0.008076, allocations: 45.69 kB / 413.3 MB, free: 7.664 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.997e-05/0.008156, allocations: 69.58 kB / 413.3 MB, free: 7.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.008157, allocations: 0 / 413.3 MB, free: 7.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00013/0.008287, allocations: 105.6 kB / 413.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.008304, allocations: 6.656 kB / 413.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.008311, allocations: 0 / 413.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.008326, allocations: 0 / 413.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.008396, allocations: 16 kB / 413.5 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.008402, allocations: 3.969 kB / 413.5 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.008433, allocations: 8.172 kB / 413.5 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.008439, allocations: 4 kB / 413.5 MB, free: 7.445 MB / 346.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 8.641e-05/0.008525, allocations: 137.7 kB / 413.6 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.008541, allocations: 15.91 kB / 413.6 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.008746, allocations: 123.2 kB / 413.7 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.00875, allocations: 4 kB / 413.7 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.008755, allocations: 0 / 413.7 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.008759, allocations: 0 / 413.7 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.009098, allocations: 362.9 kB / 414.1 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.009101, allocations: 0 / 414.1 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.009127, allocations: 8.375 kB / 414.1 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009129, allocations: 0 / 414.1 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.009139, allocations: 4 kB / 414.1 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.009142, allocations: 4 kB / 414.1 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.009144, allocations: 3.984 kB / 414.1 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.009301, allocations: 212.2 kB / 414.3 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.009316, allocations: 11.91 kB / 414.3 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.009337, allocations: 8 kB / 414.3 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.303e-05/0.00938, allocations: 8.016 kB / 414.4 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.009415, allocations: 4 kB / 414.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.009431, allocations: 7.984 kB / 414.4 MB, free: 6.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.725e-05/0.009528, allocations: 176.2 kB / 414.5 MB, free: 6.309 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009528, allocations: 0 / 414.5 MB, free: 6.309 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.009715, allocations: 23.94 kB / 414.6 MB, free: 6.285 MB / 346.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.0007974/0.01051, allocations: 0.4916 MB / 415.1 MB, free: 5.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.01066, allocations: 59.91 kB / 415.1 MB, free: 5.781 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01066, allocations: 0 / 415.1 MB, free: 5.781 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.0107, allocations: 24 kB / 415.1 MB, free: 5.758 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.01096, allocations: 31.91 kB / 415.2 MB, free: 5.727 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.01165, allocations: 284.4 kB / 415.4 MB, free: 5.406 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.307e-05/0.01172, allocations: 104.7 kB / 415.5 MB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.01175, allocations: 20.5 kB / 415.6 MB, free: 5.266 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01175, allocations: 0 / 415.6 MB, free: 5.266 MB / 346.7 MB Notification: Performance of Templates: time 0.002858/0.01461, allocations: 2.039 MB / 417.6 MB, free: 3.227 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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: 4.407039378769696]