Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001235, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.1 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 82.75 kB / 417.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1068, allocations: 62.43 MB / 480.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003614/0.1104, allocations: 1.883 MB / 482 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1124, allocations: 1.092 MB / 483.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1125, allocations: 0 / 483.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.1131, allocations: 287.4 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.1137, allocations: 235.4 kB / 483.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.114, allocations: 95.78 kB / 483.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.1144, allocations: 251.4 kB / 484 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.1144, allocations: 13.67 kB / 484 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.1147, allocations: 135.5 kB / 484.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.1149, allocations: 200 kB / 484.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.115, allocations: 8 kB / 484.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1151, allocations: 43.98 kB / 484.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.1152, allocations: 144.4 kB / 484.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.1154, allocations: 146.8 kB / 484.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.1158, allocations: 283.8 kB / 484.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1158, allocations: 4 kB / 484.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1158, allocations: 0 / 484.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.1158, allocations: 0 / 484.9 MB, free: 0.8008 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009747/0.1168, allocations: 0.7307 MB / 485.7 MB, free: 20 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1168, allocations: 12.03 kB / 485.7 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.117, allocations: 52.33 kB / 485.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.1175, allocations: 447.7 kB / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1175, allocations: 4.375 kB / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.1176, allocations: 8.125 kB / 486.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.1178, allocations: 87.36 kB / 486.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1178, allocations: 7.922 kB / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1178, allocations: 4 kB / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1178, allocations: 0 / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.118, allocations: 23.98 kB / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.1184, allocations: 370.4 kB / 486.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.1187, allocations: 109.2 kB / 486.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-05/0.1188, allocations: 45.62 kB / 486.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1188, allocations: 4 kB / 486.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.1191, allocations: 120.9 kB / 486.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1191, allocations: 4 kB / 486.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004856/0.1196, allocations: 192.9 kB / 487.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.1196, allocations: 85.09 kB / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.1207, allocations: 1.019 MB / 488.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1207, allocations: 25.7 kB / 488.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1209, allocations: 240.1 kB / 488.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.121, allocations: 31.64 kB / 488.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.121, allocations: 25.72 kB / 488.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1212, allocations: 370.8 kB / 488.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.1213, allocations: 27.98 kB / 488.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.1214, allocations: 51.42 kB / 489 MB, free: 12.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.1215, allocations: 95.84 kB / 489.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1216, allocations: 0 / 489.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003088/0.1219, allocations: 172.9 kB / 489.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1219, allocations: 7.938 kB / 489.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1219, allocations: 0 / 489.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1219, allocations: 4.062 kB / 489.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.122, allocations: 23.98 kB / 489.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.1221, allocations: 4 kB / 489.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1222, allocations: 15.89 kB / 489.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1222, allocations: 4 kB / 489.3 MB, free: 12.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002001/0.1224, allocations: 217.7 kB / 489.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.1225, allocations: 47.44 kB / 489.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.1226, allocations: 60.09 kB / 489.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1226, allocations: 7.984 kB / 489.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1226, allocations: 4 kB / 489.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1226, allocations: 0 / 489.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.1229, allocations: 353.2 kB / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1229, allocations: 0 / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.123, allocations: 8 kB / 490 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.123, allocations: 0 / 490 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.123, allocations: 0 / 490 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.123, allocations: 4 kB / 490 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.123, allocations: 0 / 490 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.1233, allocations: 217.1 kB / 490.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1235, allocations: 136.5 kB / 490.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.1235, allocations: 4 kB / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.1236, allocations: 0 / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1236, allocations: 15.97 kB / 490.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.1237, allocations: 8 kB / 490.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000751/0.1244, allocations: 0.7643 MB / 491.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1244, allocations: 4 kB / 491.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1247, allocations: 44 kB / 491.2 MB, free: 10.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009646/0.1257, allocations: 407.4 kB / 491.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.126, allocations: 83.89 kB / 491.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.126, allocations: 0 / 491.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1261, allocations: 39.92 kB / 491.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1265, allocations: 77.77 kB / 491.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.1279, allocations: 0.9816 MB / 492.8 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.1283, allocations: 0.8542 MB / 493.6 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.1284, allocations: 27.44 kB / 493.6 MB, free: 7.785 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1284, allocations: 0 / 493.6 MB, free: 7.785 MB / 366.1 MB Notification: Performance of Templates: time 0.008638/0.137, allocations: 5.066 MB / 498.7 MB, free: 2.727 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches