Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001146, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001313, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 74.89 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 62.45 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003083/0.1084, allocations: 1.92 MB / 483.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.11, allocations: 1.063 MB / 484.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.1101, allocations: 7.938 kB / 484.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1104, allocations: 43.7 kB / 484.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.1107, allocations: 103.5 kB / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.1109, allocations: 91.72 kB / 484.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1111, allocations: 147.5 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1112, allocations: 25.55 kB / 484.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.783e-05/0.1113, allocations: 59.66 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.356e-05/0.1114, allocations: 51.7 kB / 485 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.1115, allocations: 8 kB / 485 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.1116, allocations: 51.92 kB / 485 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.1116, allocations: 23.92 kB / 485.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.1117, allocations: 59.64 kB / 485.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.1119, allocations: 155.4 kB / 485.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1119, allocations: 4 kB / 485.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1119, allocations: 0 / 485.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1119, 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.0005591/0.1125, allocations: 488.4 kB / 485.7 MB, free: 204 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.1126, allocations: 12.03 kB / 485.8 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.1126, allocations: 16.75 kB / 485.8 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.1129, allocations: 241.5 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1129, allocations: 4.375 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.113, allocations: 12.12 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.1132, allocations: 100.2 kB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1132, allocations: 4 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1132, allocations: 4 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1133, allocations: 7.938 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1134, allocations: 47.97 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.114, allocations: 0.5009 MB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.1143, allocations: 90.66 kB / 486.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.168e-05/0.1144, allocations: 36.83 kB / 486.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1144, allocations: 4 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.1146, allocations: 95.3 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.1146, allocations: 0 / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003732/0.115, allocations: 141.4 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.115, allocations: 59.72 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1152, allocations: 195.1 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.1153, allocations: 29.7 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.1153, allocations: 112 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1154, allocations: 43.48 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1154, allocations: 29.7 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1155, allocations: 322.8 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.1156, allocations: 27.98 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1157, allocations: 68.2 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.1159, allocations: 96.22 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.1159, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002615/0.1162, allocations: 145.3 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1162, allocations: 4 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1163, allocations: 4 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1163, allocations: 0 / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1164, allocations: 31.86 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1164, allocations: 0 / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.1165, allocations: 15.92 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1165, allocations: 4 kB / 488.2 MB, free: 13.51 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.492e-05/0.1166, allocations: 125.9 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.1166, allocations: 15.81 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.1167, allocations: 21.39 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1167, allocations: 3.938 kB / 488.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1167, allocations: 0 / 488.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1167, allocations: 0 / 488.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1169, allocations: 217.5 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1169, allocations: 3.984 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-05/0.117, allocations: 11.94 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.117, allocations: 0 / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.117, allocations: 4 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.117, allocations: 12.02 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.117, allocations: 3.938 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.1174, allocations: 176.9 kB / 488.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.1174, allocations: 100.9 kB / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1175, allocations: 0 / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/0.1175, allocations: 11.92 kB / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1176, allocations: 8.062 kB / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1176, allocations: 11.98 kB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1177, allocations: 140.4 kB / 489.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1177, allocations: 0 / 489.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1179, 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.0008857/0.1188, allocations: 406.4 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.1191, allocations: 87.83 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1191, allocations: 0 / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.755e-05/0.1192, allocations: 35.98 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.0003038/0.1195, allocations: 36.28 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.1201, allocations: 259.5 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.1203, allocations: 0.7164 MB / 490.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.1204, allocations: 21.42 kB / 490.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.1204, allocations: 15.44 kB / 490.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1204, allocations: 0 / 490.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of Templates: time 0.004568/0.125, allocations: 1.895 MB / 492.5 MB, free: 9.184 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches