Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2012/0.2012, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 80.22 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1125, allocations: 62.45 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002953/0.1155, allocations: 1.723 MB / 483.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1169, allocations: 1.025 MB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.117, allocations: 0 / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.1172, allocations: 83.7 kB / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.1175, allocations: 119.5 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.1177, allocations: 83.66 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1179, allocations: 111.7 kB / 484.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.118, allocations: 19.92 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.411e-05/0.1181, allocations: 47.78 kB / 484.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.863e-05/0.1182, allocations: 55.81 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1182, allocations: 4 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/0.1183, allocations: 39.98 kB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.1184, allocations: 27.91 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.1184, allocations: 43.61 kB / 484.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1186, allocations: 127.6 kB / 485 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1186, allocations: 4 kB / 485 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1186, allocations: 0 / 485 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1186, allocations: 0 / 485 MB, free: 1.004 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004639/0.1191, allocations: 422.9 kB / 485.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.1191, allocations: 8.031 kB / 485.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.1192, allocations: 16.75 kB / 485.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1194, allocations: 208.1 kB / 485.6 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1194, allocations: 4.375 kB / 485.6 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.1195, allocations: 16.03 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1196, allocations: 57.61 kB / 485.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1196, allocations: 0 / 485.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1196, allocations: 4 kB / 485.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1196, allocations: 0 / 485.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.896e-05/0.1197, allocations: 23.97 kB / 485.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.1201, allocations: 288.9 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1202, allocations: 62.62 kB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.1203, allocations: 20.84 kB / 486.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1203, allocations: 3.938 kB / 486.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.1204, allocations: 67.39 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1205, allocations: 0 / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00048/0.1209, allocations: 185 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.121, allocations: 55.41 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1212, allocations: 220.3 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1212, allocations: 29.7 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.1213, allocations: 108.1 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.1213, allocations: 19.66 kB / 486.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.1213, allocations: 25.7 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1215, allocations: 334.8 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.435e-05/0.1215, allocations: 19.98 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.1216, allocations: 37.64 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1217, allocations: 57.72 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1217, allocations: 0 / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.1219, allocations: 105.4 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1219, allocations: 12.03 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1219, allocations: 0 / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.1219, allocations: 0 / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.122, allocations: 16 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1221, allocations: 7.984 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1221, allocations: 3.938 kB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1221, allocations: 4 kB / 487.4 MB, free: 14.37 MB / 366.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 (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 9.94e-05/0.1222, allocations: 133.8 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.1223, allocations: 7.906 kB / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.1223, allocations: 21.41 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1223, allocations: 0 / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1223, allocations: 0 / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1223, allocations: 3.938 kB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.1227, allocations: 403.6 kB / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1227, allocations: 0 / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.1228, allocations: 12 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1228, allocations: 0 / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1228, allocations: 11.95 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1228, allocations: 8 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1228, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.123, allocations: 200.4 kB / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.1231, allocations: 92.92 kB / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1231, allocations: 7.875 kB / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.1232, allocations: 7.984 kB / 488.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.1232, allocations: 8 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.1233, allocations: 4 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1234, allocations: 165.2 kB / 488.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1234, allocations: 0 / 488.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1236, allocations: 24 kB / 488.5 MB, free: 13.17 MB / 366.1 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 (8): * Single equations (assignments): 6 * 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.0009494/0.1246, allocations: 465.5 kB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.1248, allocations: 59.91 kB / 489 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1248, allocations: 0 / 489 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/0.1249, allocations: 31.92 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1252, allocations: 34.36 kB / 489 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.1256, allocations: 247.5 kB / 489.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1258, allocations: 0.7119 MB / 490 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.592e-05/0.1259, allocations: 21.16 kB / 490 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1259, allocations: 15.44 kB / 490 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1259, allocations: 4 kB / 490 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004135/0.1301, allocations: 1.728 MB / 491.8 MB, free: 9.996 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches