Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 88.34 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002285/0.002285, allocations: 164 kB / 25.61 MB, free: 8.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.139/1.139, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1727/0.1727, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.768e-05, allocations: 5.406 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002526/0.002554, allocations: 1.703 MB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.003837, allocations: 0.9853 MB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.00394, allocations: 3.938 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.004292, allocations: 43.81 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.00462, allocations: 111.5 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.004795, allocations: 71.62 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.004953, allocations: 103.7 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.005004, allocations: 4.234 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.005117, allocations: 55.78 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.005199, allocations: 27.89 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.005216, allocations: 4 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.353e-05/0.005289, allocations: 27.94 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.005348, allocations: 31.86 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.005383, allocations: 19.92 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.005541, allocations: 107.5 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005543, allocations: 4 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005545, allocations: 0 / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.00555, allocations: 4 kB / 383.4 MB, free: 19.35 MB / 314.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.0004142/0.005964, allocations: 471.7 kB / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.006002, allocations: 8.031 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.00605, allocations: 20.84 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.006204, allocations: 153.3 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.006224, allocations: 4.375 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-06/0.006232, allocations: 384 / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.006334, allocations: 54.94 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.006343, allocations: 8.125 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.006352, allocations: 384 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.006358, allocations: 3.938 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.006386, allocations: 11.98 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.006509, allocations: 125.2 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.133e-05/0.0066, allocations: 43.09 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.006621, allocations: 15.69 kB / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.006634, allocations: 0 / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.23e-05/0.006726, allocations: 72.92 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.006727, allocations: 4 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001658/0.006893, allocations: 77.58 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.006919, allocations: 55.41 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.00704, allocations: 277.4 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.007049, allocations: 25.7 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.007095, allocations: 166.8 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.007127, allocations: 15.91 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.007156, allocations: 27.36 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.007219, allocations: 0.5001 MB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.007233, allocations: 7.938 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.007256, allocations: 39.33 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.007292, allocations: 31.38 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.007294, allocations: 0 / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.013e-05/0.007364, allocations: 73.53 kB / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.007378, allocations: 8 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.007384, allocations: 0 / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.007395, allocations: 0 / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.867e-05/0.007454, allocations: 12.3 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007458, allocations: 3.938 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.007487, allocations: 12.03 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.007492, allocations: 0 / 385.7 MB, free: 16.84 MB / 314.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 5.873e-05/0.007551, allocations: 164.5 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.007566, allocations: 19.89 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.007679, allocations: 82.83 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.007682, allocations: 0 / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.007684, allocations: 0 / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.00769, allocations: 3.938 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.57e-05/0.007765, allocations: 125.2 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007767, allocations: 4 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.007781, allocations: 8 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007783, allocations: 3.984 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.007789, allocations: 0 / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.00779, allocations: 0 / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007791, allocations: 0 / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.784e-05/0.007869, allocations: 128.2 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.007884, allocations: 19.78 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.0079, allocations: 4 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.007919, allocations: 4 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.007944, allocations: 3.984 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.007954, allocations: 4 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.394e-05/0.008008, allocations: 184.5 kB / 386.4 MB, free: 16.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008008, allocations: 0 / 386.4 MB, free: 16.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.008157, allocations: 23.98 kB / 386.4 MB, free: 16 MB / 314.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.000779/0.008936, allocations: 386.3 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.769e-05/0.009034, allocations: 39.61 kB / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.009035, allocations: 0 / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.009064, allocations: 15.69 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.009269, allocations: 43.64 kB / 386.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.009599, allocations: 236.4 kB / 387.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.009631, allocations: 71.19 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.009663, allocations: 20.53 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.009722, allocations: 90.19 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.009723, allocations: 0 / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Templates: time 0.003711/0.01343, allocations: 1.822 MB / 389.1 MB, free: 13.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.8885197322815657]