Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007905/0.0007905, allocations: 95.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009465/0.0009468, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 247.5 MB, free: 9.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.193/0.193, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002622, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1089, allocations: 63.55 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002195/0.1112, allocations: 1.629 MB / 485.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.113, allocations: 1.092 MB / 486.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1131, allocations: 7.938 kB / 486.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.1135, allocations: 151.7 kB / 486.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.1139, allocations: 159.5 kB / 486.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1142, allocations: 99.78 kB / 486.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.1145, allocations: 227.3 kB / 487.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1147, allocations: 33.59 kB / 487.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.1148, allocations: 95.56 kB / 487.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.115, allocations: 127.5 kB / 487.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.115, allocations: 4 kB / 487.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1152, allocations: 63.97 kB / 487.4 MB, free: 448 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.1153, allocations: 47.78 kB / 487.5 MB, free: 400 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.1154, allocations: 109 kB / 487.6 MB, free: 284 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.1156, allocations: 160 kB / 487.7 MB, free: 124 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1156, allocations: 8 kB / 487.7 MB, free: 116 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1157, allocations: 0 / 487.7 MB, free: 116 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1157, allocations: 0 / 487.7 MB, free: 116 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007545/0.1164, allocations: 0.4983 MB / 488.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1165, allocations: 12.03 kB / 488.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.1166, allocations: 24.66 kB / 488.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1169, allocations: 275.5 kB / 488.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1169, allocations: 12.38 kB / 488.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.117, allocations: 16.12 kB / 488.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.1172, allocations: 110.1 kB / 488.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1172, allocations: 0 / 488.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1173, allocations: 7.984 kB / 488.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1173, allocations: 4 kB / 488.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1174, allocations: 39.97 kB / 488.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.118, allocations: 480.7 kB / 489.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.1184, allocations: 121.2 kB / 489.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1185, allocations: 45.83 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1185, allocations: 4 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.1188, allocations: 120.3 kB / 489.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.1188, allocations: 0 / 489.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001275/0.1201, allocations: 0.4891 MB / 490 MB, free: 13.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1201, allocations: 77.11 kB / 490 MB, free: 13.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.1205, allocations: 375.2 kB / 490.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1205, allocations: 33.69 kB / 490.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.1206, allocations: 140.6 kB / 490.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.1207, allocations: 75.08 kB / 490.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.1208, allocations: 25.7 kB / 490.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1209, allocations: 342.8 kB / 491 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.121, allocations: 55.97 kB / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1212, allocations: 87.41 kB / 491.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.1214, allocations: 163.3 kB / 491.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1215, allocations: 4 kB / 491.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003807/0.1218, allocations: 233.2 kB / 491.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1219, allocations: 7.938 kB / 491.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1219, allocations: 0 / 491.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1219, allocations: 4 kB / 491.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.122, allocations: 47.91 kB / 491.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1221, allocations: 4 kB / 491.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.793e-05/0.1222, allocations: 16 kB / 491.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.1222, allocations: 8 kB / 491.6 MB, free: 11.93 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000147/0.1224, allocations: 166.2 kB / 491.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.1224, allocations: 31.56 kB / 491.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.899e-05/0.1225, allocations: 42.05 kB / 491.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1225, allocations: 4 kB / 491.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1225, allocations: 0 / 491.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1225, allocations: 0 / 491.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008663/0.1234, allocations: 0.7194 MB / 492.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.1234, allocations: 4 kB / 492.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.1235, allocations: 35.92 kB / 492.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1235, allocations: 8.125 kB / 492.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1235, allocations: 4 kB / 492.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1235, allocations: 0 / 492.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1235, allocations: 4 kB / 492.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.124, allocations: 425 kB / 493 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.1241, allocations: 112.7 kB / 493.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.1241, allocations: 8 kB / 493.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.1243, allocations: 15.98 kB / 493.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1243, allocations: 19.86 kB / 493.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.1244, allocations: 12 kB / 493.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002539/0.1246, allocations: 281.9 kB / 493.5 MB, free: 9.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1246, allocations: 4 kB / 493.5 MB, free: 9.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.125, allocations: 44 kB / 493.5 MB, free: 9.898 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001158/0.1262, allocations: 0.4952 MB / 494 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.1265, allocations: 151.8 kB / 494.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1265, allocations: 4.125 kB / 494.2 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1267, allocations: 91.83 kB / 494.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.1273, allocations: 63.81 kB / 494.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008375/0.1281, allocations: 0.6032 MB / 494.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.1285, allocations: 0.7638 MB / 495.7 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.1285, allocations: 27.44 kB / 495.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1285, allocations: 0 / 495.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of Templates: time 0.005977/0.1345, allocations: 3.548 MB / 499.3 MB, free: 4.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches