Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, 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.001797/0.001797, 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.311/1.311, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 73.42 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1092, allocations: 62.44 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003458/0.1127, allocations: 1.757 MB / 483.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1145, allocations: 1.021 MB / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.1146, allocations: 0 / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.115, allocations: 107.7 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.1154, allocations: 135.5 kB / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.1157, allocations: 75.73 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.116, allocations: 135.6 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1161, allocations: 19.98 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1162, allocations: 55.77 kB / 484.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1164, allocations: 71.73 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1164, allocations: 8 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.1166, allocations: 51.98 kB / 484.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.098e-05/0.1167, allocations: 35.84 kB / 484.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.1167, allocations: 47.67 kB / 485 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.1171, allocations: 163.4 kB / 485.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1171, allocations: 0 / 485.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1171, allocations: 4 kB / 485.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1171, allocations: 0 / 485.1 MB, free: 0.8594 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009856/0.1181, allocations: 450.7 kB / 485.6 MB, free: 380 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.1182, allocations: 8.031 kB / 485.6 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.1183, allocations: 12.84 kB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.1189, allocations: 224.9 kB / 485.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1189, allocations: 8.359 kB / 485.8 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.1189, allocations: 12.06 kB / 485.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1192, allocations: 73.59 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.1192, allocations: 0 / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1192, allocations: 0 / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1193, allocations: 4 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1194, allocations: 31.97 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.1201, allocations: 324.7 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.1204, allocations: 74.55 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.1205, allocations: 24.84 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.1206, allocations: 4 kB / 486.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.1208, allocations: 79.56 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 2.053e-06/0.1208, allocations: 0 / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009611/0.1218, allocations: 272.8 kB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.1218, allocations: 63.34 kB / 486.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.1221, allocations: 255.8 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.1221, allocations: 25.7 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.1222, allocations: 112.1 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.1223, allocations: 39.45 kB / 487.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.1223, allocations: 33.7 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1225, allocations: 322.8 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.241e-05/0.1226, allocations: 35.98 kB / 487.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.835e-05/0.1227, allocations: 57.33 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.1229, allocations: 93.62 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1229, allocations: 4 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002333/0.1231, allocations: 133.5 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1231, allocations: 4 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1231, allocations: 3.969 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1232, allocations: 8 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.486e-05/0.1232, allocations: 23.98 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.1233, allocations: 7.938 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.1233, allocations: 0 / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1233, allocations: 11.92 kB / 487.9 MB, free: 13.84 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 (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 0.0001182/0.1235, allocations: 141.8 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.1235, allocations: 15.81 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.1236, allocations: 22.05 kB / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1236, allocations: 8 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1236, allocations: 3.938 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1236, allocations: 3.984 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.1242, allocations: 476 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1242, allocations: 4 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.1242, allocations: 15.94 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1242, allocations: 0 / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1243, allocations: 8.156 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1243, allocations: 11.92 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1243, allocations: 4 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.1246, allocations: 244.9 kB / 488.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.1247, allocations: 96.84 kB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.1248, allocations: 8 kB / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.1248, allocations: 4 kB / 488.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.1249, allocations: 15.98 kB / 489 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.1249, allocations: 4 kB / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.1251, allocations: 193.5 kB / 489.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1251, allocations: 0 / 489.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1254, allocations: 35.98 kB / 489.2 MB, free: 12.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001338/0.1268, allocations: 0.4957 MB / 489.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.127, allocations: 95.83 kB / 489.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.127, allocations: 0 / 489.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.1271, allocations: 47.86 kB / 489.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1275, allocations: 35.3 kB / 489.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.1281, allocations: 321 kB / 490.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1284, allocations: 0.7201 MB / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.441e-05/0.1285, allocations: 29.05 kB / 490.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.1286, allocations: 23.42 kB / 490.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1286, allocations: 0 / 490.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of Templates: time 0.004982/0.1336, allocations: 2.084 MB / 493 MB, free: 8.746 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches