Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.001399/0.001399, allocations: 71.52 kB / 19.93 MB, free: 1.777 MB / 14.72 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.001501/0.001501, allocations: 168.8 kB / 23.21 MB, free: 4.898 MB / 14.72 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.6/1.6, allocations: 158.6 MB / 185 MB, free: 6.441 MB / 174.1 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.2378/0.2378, allocations: 32.38 MB / 269.6 MB, free: 4.699 MB / 254.1 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 407.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.076e-05, allocations: 2.281 kB / 407.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003191/0.003221, allocations: 1.635 MB / 409.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.004701, allocations: 0.7646 MB / 409.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.618e-05/0.004777, allocations: 3.938 kB / 409.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.005122, allocations: 63.78 kB / 409.9 MB, free: 492 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.00535, allocations: 59.69 kB / 410 MB, free: 432 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.005604, allocations: 95.62 kB / 410.1 MB, free: 336 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.005784, allocations: 99.62 kB / 410.2 MB, free: 236 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.005833, allocations: 4 kB / 410.2 MB, free: 232 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.005958, allocations: 59.83 kB / 410.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.006062, allocations: 39.88 kB / 410.3 MB, free: 132 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.006085, allocations: 4 kB / 410.3 MB, free: 128 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.559e-05/0.006171, allocations: 35.92 kB / 410.3 MB, free: 92 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.006227, allocations: 11.94 kB / 410.3 MB, free: 80 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.006279, allocations: 23.91 kB / 410.3 MB, free: 56 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.006495, allocations: 99.59 kB / 410.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.006497, allocations: 7.938 kB / 410.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006498, allocations: 0 / 410.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.006503, allocations: 0 / 410.4 MB, free: 15.95 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005817/0.007085, allocations: 329.7 kB / 410.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.007121, allocations: 8.031 kB / 410.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.007165, allocations: 8.891 kB / 410.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.007448, allocations: 157.5 kB / 410.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.007462, allocations: 384 / 410.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.007474, allocations: 384 / 410.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.007632, allocations: 50.23 kB / 411 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.007644, allocations: 11.88 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.007654, allocations: 0 / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.007663, allocations: 0 / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.007741, allocations: 19.98 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.007957, allocations: 129.3 kB / 411.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.00814, allocations: 50.61 kB / 411.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.008198, allocations: 16.86 kB / 411.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.008216, allocations: 0 / 411.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.008411, allocations: 75.33 kB / 411.3 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.008413, allocations: 0 / 411.3 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003086/0.008721, allocations: 105.5 kB / 411.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.008765, allocations: 51.41 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.008971, allocations: 190.2 kB / 411.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.008992, allocations: 25.7 kB / 411.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.009074, allocations: 108.1 kB / 411.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.009102, allocations: 7.906 kB / 411.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.009144, allocations: 21.72 kB / 411.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.009313, allocations: 318.8 kB / 412.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.009372, allocations: 23.92 kB / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.316e-05/0.009435, allocations: 37.69 kB / 412.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.009551, allocations: 41.72 kB / 412.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.009553, allocations: 0 / 412.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001682/0.009721, allocations: 85.56 kB / 412.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.009736, allocations: 4 kB / 412.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.009744, allocations: 3.938 kB / 412.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.009759, allocations: 3.938 kB / 412.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.428e-05/0.009843, allocations: 15.98 kB / 412.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.009849, allocations: 4.031 kB / 412.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.0099, allocations: 7.953 kB / 412.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.009911, allocations: 4 kB / 412.3 MB, free: 13.89 MB / 350.1 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 (7): * Single equations (assignments): 7 * 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 0.0001504/0.01006, allocations: 125.8 kB / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.01009, allocations: 11.95 kB / 412.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.01034, allocations: 94.02 kB / 412.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.01035, allocations: 4 kB / 412.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01035, allocations: 0 / 412.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01036, allocations: 0 / 412.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.01053, allocations: 133.3 kB / 412.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.01053, allocations: 384 / 412.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.01056, allocations: 7.984 kB / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01056, allocations: 0 / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.01057, allocations: 4 kB / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01058, allocations: 4.094 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01058, allocations: 4 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.01079, allocations: 117 kB / 412.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.01081, allocations: 15.88 kB / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.01084, allocations: 4 kB / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.01088, allocations: 11.92 kB / 412.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.01091, allocations: 4 kB / 412.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.01093, allocations: 4 kB / 412.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.01107, allocations: 143.2 kB / 413 MB, free: 13.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01107, allocations: 4 kB / 413 MB, free: 13.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.01129, allocations: 16 kB / 413 MB, free: 13.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00169/0.01298, allocations: 435.9 kB / 413.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.01317, allocations: 47.91 kB / 413.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01317, allocations: 0 / 413.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.01324, allocations: 24.05 kB / 413.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.01352, allocations: 27.27 kB / 413.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.014, allocations: 201.2 kB / 413.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.924e-05/0.0141, allocations: 91.11 kB / 413.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.351e-05/0.01414, allocations: 12.48 kB / 413.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.01418, allocations: 16.5 kB / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01418, allocations: 4 kB / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Templates: time 0.005304/0.01948, allocations: 1.595 MB / 415.4 MB, free: 10.74 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.336027819663286]