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.001104/0.001104, 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.001399/0.0014, 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.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2015/0.2015, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001543, allocations: 79.86 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1129, allocations: 62.44 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003213/0.1161, allocations: 1.831 MB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1179, allocations: 1.095 MB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1181, allocations: 8 kB / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.1186, allocations: 303.2 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.1191, allocations: 259.2 kB / 484.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1194, allocations: 103.7 kB / 485 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.1197, allocations: 255.3 kB / 485.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.01e-05/0.1198, allocations: 9.688 kB / 485.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.12, allocations: 131.5 kB / 485.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.1202, allocations: 191.9 kB / 485.6 MB, free: 348 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.1203, allocations: 12 kB / 485.6 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1204, allocations: 43.98 kB / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.1205, allocations: 132.6 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1206, allocations: 146.7 kB / 485.9 MB, free: 12 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.121, allocations: 374.7 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.121, allocations: 0 / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1211, allocations: 0 / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.1211, allocations: 0 / 486.3 MB, free: 15.64 MB / 366.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.0009798/0.122, allocations: 0.723 MB / 487 MB, free: 14.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1221, allocations: 16.03 kB / 487.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/0.1222, allocations: 48.28 kB / 487.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.1229, allocations: 455.7 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1229, allocations: 4.375 kB / 487.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1229, allocations: 12.11 kB / 487.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1231, allocations: 83.36 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1232, allocations: 0 / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1232, allocations: 0 / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1232, allocations: 4 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1233, allocations: 31.92 kB / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.1237, allocations: 374.4 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.124, allocations: 105.2 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.588e-05/0.1241, allocations: 49.56 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1241, allocations: 0 / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.1243, allocations: 109 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.1243, allocations: 4 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004824/0.1248, allocations: 197.4 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1249, allocations: 81.09 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000989/0.1259, allocations: 1.022 MB / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1259, allocations: 33.64 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1261, allocations: 232.1 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.1261, allocations: 31.58 kB / 489.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.1262, allocations: 33.72 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1263, allocations: 366.8 kB / 490.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.1264, allocations: 27.98 kB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/0.1265, allocations: 55.42 kB / 490.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1267, allocations: 99.41 kB / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1267, allocations: 0 / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000279/0.127, allocations: 164.9 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.127, allocations: 8 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.127, allocations: 0 / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.127, allocations: 0 / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1272, allocations: 27.92 kB / 490.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1272, allocations: 0 / 490.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.1273, allocations: 19.95 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1273, allocations: 4 kB / 490.7 MB, free: 10.99 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.0001914/0.1275, allocations: 222.6 kB / 490.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.1275, allocations: 43.44 kB / 490.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/0.1276, allocations: 60.09 kB / 491 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1276, allocations: 3.984 kB / 491 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1277, allocations: 0 / 491 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1277, allocations: 4 kB / 491 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.128, allocations: 349.2 kB / 491.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.128, allocations: 8 kB / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.128, allocations: 8.062 kB / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.128, allocations: 0 / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1281, allocations: 8 kB / 491.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1281, allocations: 0 / 491.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1281, allocations: 0 / 491.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.1284, allocations: 221.1 kB / 491.6 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.1286, allocations: 136.5 kB / 491.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.1286, allocations: 0 / 491.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.1287, allocations: 4 kB / 491.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1287, allocations: 11.98 kB / 491.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1288, allocations: 4 kB / 491.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007122/0.1295, allocations: 0.7643 MB / 492.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1295, allocations: 0 / 492.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1298, allocations: 43.94 kB / 492.5 MB, free: 9.023 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.0009106/0.1307, allocations: 411.5 kB / 492.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.1309, allocations: 83.83 kB / 493 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1309, allocations: 0 / 493 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.131, allocations: 35.98 kB / 493.1 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1314, allocations: 70.14 kB / 493.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.1325, allocations: 0.863 MB / 494 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.133, allocations: 0.8503 MB / 494.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1331, allocations: 58.94 kB / 494.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.1332, allocations: 27.44 kB / 494.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1332, allocations: 4 kB / 494.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of Templates: time 0.007829/0.141, allocations: 3.705 MB / 498.6 MB, free: 3.023 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 -s gbode -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