Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 79.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1083, allocations: 62.44 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003479/0.1118, allocations: 1.942 MB / 483.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1134, allocations: 1.064 MB / 484.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1135, allocations: 0 / 484.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.1138, allocations: 43.7 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.1142, allocations: 99.47 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1145, allocations: 99.64 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1147, allocations: 139.6 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1148, allocations: 25.56 kB / 484.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.984e-05/0.1149, allocations: 67.69 kB / 484.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.172e-05/0.115, allocations: 47.72 kB / 485 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1151, allocations: 8 kB / 485 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1152, allocations: 47.98 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.1152, allocations: 27.84 kB / 485.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.1153, allocations: 55.61 kB / 485.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.1155, allocations: 151.5 kB / 485.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1156, allocations: 4 kB / 485.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1156, allocations: 0 / 485.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1156, allocations: 0 / 485.3 MB, free: 0.7305 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005889/0.1162, allocations: 492.4 kB / 485.7 MB, free: 200 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1162, allocations: 8.031 kB / 485.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.1163, allocations: 20.69 kB / 485.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.1166, allocations: 233.6 kB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1166, allocations: 8.375 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.1166, allocations: 8.125 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1169, allocations: 110.5 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1169, allocations: 0 / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1169, allocations: 4 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1169, allocations: 0 / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1171, allocations: 51.97 kB / 486.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.1176, allocations: 0.5087 MB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.118, allocations: 90.61 kB / 486.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.796e-05/0.1181, allocations: 44.81 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1181, allocations: 0 / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1183, allocations: 83.31 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1183, allocations: 0 / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003756/0.1187, allocations: 149.4 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.1187, allocations: 55.34 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.1189, allocations: 203 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1189, allocations: 29.7 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.119, allocations: 112 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.119, allocations: 27.56 kB / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.1191, allocations: 33.7 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1192, allocations: 326.8 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.1193, allocations: 31.92 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-05/0.1194, allocations: 64.27 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.1196, allocations: 96.2 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1196, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002573/0.1198, allocations: 137.3 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1199, allocations: 12.41 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1199, allocations: 128 / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1199, allocations: 4 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.12, allocations: 31.86 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.12, allocations: 4 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.1201, allocations: 11.88 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1201, allocations: 8 kB / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.803e-05/0.1202, allocations: 128.5 kB / 488.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1202, allocations: 15.81 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.1203, allocations: 13.41 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1203, allocations: 7.938 kB / 488.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.1203, allocations: 7.984 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1203, allocations: 7.938 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1205, allocations: 213.5 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1205, allocations: 0 / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.1206, allocations: 8 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1206, allocations: 0 / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1206, allocations: 11.98 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1206, allocations: 3.938 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1206, allocations: 0 / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.1209, allocations: 176.9 kB / 488.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.121, allocations: 92.89 kB / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.121, allocations: 3.984 kB / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.1211, allocations: 7.938 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.1211, allocations: 11.98 kB / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1212, allocations: 4 kB / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1213, allocations: 148.5 kB / 489 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1213, allocations: 0 / 489 MB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1215, allocations: 24 kB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0008756/0.1224, allocations: 402.9 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1226, allocations: 83.83 kB / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1227, allocations: 256 / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.1228, allocations: 43.92 kB / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.123, allocations: 41.7 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.1235, allocations: 255.6 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1237, allocations: 0.7201 MB / 490.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.329e-05/0.1238, allocations: 17.42 kB / 490.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.1239, allocations: 19.42 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1239, allocations: 0 / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004618/0.1285, allocations: 1.892 MB / 492.5 MB, free: 9.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches