Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001419/0.001419, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001646/0.001646, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2784/0.2784, allocations: 34.25 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 3.938 kB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.923e-05, allocations: 9.688 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00291/0.00294, allocations: 1.711 MB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.004452, allocations: 0.9977 MB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.6e-05/0.004538, allocations: 0 / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.004854, allocations: 47.75 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.005222, allocations: 115.4 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.00545, allocations: 75.61 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.005643, allocations: 107.7 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.005686, allocations: 4.234 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.005808, allocations: 51.78 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.582e-05/0.005894, allocations: 19.92 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.005912, allocations: 4 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.663e-05/0.006009, allocations: 35.97 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.006074, allocations: 27.86 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.00612, allocations: 23.92 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.00633, allocations: 103.6 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.006332, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006333, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006338, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.7 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.0005867/0.006925, allocations: 467.6 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.006964, allocations: 12.03 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.007024, allocations: 16.84 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.007232, allocations: 165.2 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.007253, allocations: 4.375 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.007267, allocations: 4.375 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.007394, allocations: 62.92 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.007405, allocations: 3.938 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.007415, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.007423, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.007458, allocations: 15.92 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.007635, allocations: 148.7 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.007745, allocations: 51.09 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.007778, allocations: 19.62 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.007793, allocations: 4 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.007894, allocations: 65.05 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.007895, allocations: 3.938 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002119/0.008107, allocations: 93.52 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.008136, allocations: 51.41 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.008384, allocations: 273.6 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.0084, allocations: 29.7 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.008468, allocations: 162.9 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.0085, allocations: 19.89 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.008539, allocations: 27.36 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.008665, allocations: 0.504 MB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.008692, allocations: 4.25 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.008726, allocations: 31.36 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.645e-05/0.008783, allocations: 39.31 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008785, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001115/0.008896, allocations: 77.53 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.008911, allocations: 8 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.008917, allocations: 3.938 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.008932, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.009002, allocations: 16.02 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.009007, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.443e-05/0.009042, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.009049, allocations: 8 kB / 383.8 MB, free: 12.65 MB / 362.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 (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 7.225e-05/0.009122, allocations: 152.6 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.009143, allocations: 19.89 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.009283, allocations: 94.86 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.009285, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.009288, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.009291, allocations: 4 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.009406, allocations: 164.5 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.009406, allocations: 0 / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.009427, allocations: 8 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.009428, allocations: 0 / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.009434, allocations: 0 / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.009437, allocations: 7.922 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009438, allocations: 3.938 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.009554, allocations: 128.4 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.009571, allocations: 11.91 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.00959, allocations: 4 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.009619, allocations: 11.92 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.009649, allocations: 8 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.00966, allocations: 0 / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.009887, allocations: 192.5 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009887, allocations: 0 / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.01011, allocations: 23.98 kB / 384.6 MB, free: 11.76 MB / 362.7 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.0009635/0.01107, allocations: 387.9 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.01118, allocations: 39.61 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01118, allocations: 0 / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.01122, allocations: 23.67 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.01145, allocations: 31.86 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.01183, allocations: 234.5 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.486e-05/0.01187, allocations: 79.39 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.0119, allocations: 4.5 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.01193, allocations: 16.5 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01194, allocations: 0 / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003932/0.01587, allocations: 1.672 MB / 387.1 MB, free: 9.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.4532665978185833]