Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 209.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 247.1 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1973/0.1973, allocations: 46.12 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 79.91 kB / 417.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09686, allocations: 62.43 MB / 480.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003227/0.1001, allocations: 2.325 MB / 482.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1021, allocations: 1.302 MB / 483.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.1023, allocations: 3.938 kB / 483.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1026, allocations: 127.5 kB / 483.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004927/0.1032, allocations: 223.2 kB / 484.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1035, allocations: 171.7 kB / 484.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.104, allocations: 466.6 kB / 484.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1041, allocations: 53.08 kB / 484.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.1045, allocations: 295 kB / 485.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1047, allocations: 179 kB / 485.3 MB, free: 480 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.1047, allocations: 16 kB / 485.3 MB, free: 464 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1049, allocations: 75.97 kB / 485.4 MB, free: 388 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.105, allocations: 151.4 kB / 485.5 MB, free: 236 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.1051, allocations: 210.3 kB / 485.7 MB, free: 24 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.1055, allocations: 359.5 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1055, allocations: 0 / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1055, allocations: 0 / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.1055, allocations: 0 / 486.1 MB, free: 15.67 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009619/0.1065, allocations: 0.8849 MB / 486.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1065, allocations: 13.05 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.933e-05/0.1066, allocations: 75.98 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.107, allocations: 432.2 kB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1071, allocations: 12.36 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.1071, allocations: 24.06 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.1074, allocations: 193.5 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1075, allocations: 0 / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.1075, allocations: 8 kB / 487.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1075, allocations: 4 kB / 487.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.1077, allocations: 95.86 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.1085, allocations: 0.8288 MB / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.1091, allocations: 254.5 kB / 488.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1092, allocations: 87.52 kB / 488.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1093, allocations: 8 kB / 489 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003511/0.1096, allocations: 210.2 kB / 489.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.1096, allocations: 0 / 489.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002215/0.1119, allocations: 1.164 MB / 490.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.1119, allocations: 140.5 kB / 490.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/0.1128, allocations: 0.9536 MB / 491.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.1129, allocations: 37.7 kB / 491.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.113, allocations: 277 kB / 491.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1131, allocations: 146 kB / 491.9 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.1132, allocations: 78.03 kB / 491.9 MB, free: 9.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.1133, allocations: 322 kB / 492.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.1136, allocations: 116.8 kB / 492.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.1138, allocations: 187.1 kB / 492.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.1143, allocations: 318.6 kB / 492.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1143, allocations: 4 kB / 492.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000658/0.1149, allocations: 444.4 kB / 493.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.115, allocations: 4 kB / 493.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.115, allocations: 4 kB / 493.3 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.115, allocations: 0 / 493.3 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.1152, allocations: 99.95 kB / 493.4 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1153, allocations: 4 kB / 493.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1154, allocations: 19.92 kB / 493.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.1154, allocations: 19.98 kB / 493.4 MB, free: 7.906 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000223/0.1157, allocations: 255.8 kB / 493.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.1158, allocations: 75.06 kB / 493.8 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.1159, allocations: 89.73 kB / 493.9 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1159, allocations: 8 kB / 493.9 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1159, allocations: 4 kB / 493.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.1159, allocations: 11.86 kB / 493.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.1174, allocations: 1.334 MB / 495.2 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1174, allocations: 4 kB / 495.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1175, allocations: 55.92 kB / 495.3 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1175, allocations: 4 kB / 495.3 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.1176, allocations: 24.23 kB / 495.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.1176, allocations: 7.938 kB / 495.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1176, allocations: 4 kB / 495.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/0.1183, allocations: 0.7889 MB / 496.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.1185, allocations: 180.2 kB / 496.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.1185, allocations: 16 kB / 496.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.1188, allocations: 19.98 kB / 496.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.1189, allocations: 39.83 kB / 496.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.1189, allocations: 23.98 kB / 496.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006072/0.1195, allocations: 0.6982 MB / 497.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1196, allocations: 0 / 497.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004775/0.12, allocations: 95.98 kB / 497.2 MB, free: 4.027 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001082/0.1211, allocations: 0.5326 MB / 497.7 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005441/0.1217, allocations: 331.9 kB / 498 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1217, allocations: 0 / 498 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.122, allocations: 164.1 kB / 498.2 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008646/0.1228, allocations: 131.9 kB / 498.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.1244, allocations: 1.439 MB / 499.8 MB, free: 1.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.1248, allocations: 0.9219 MB / 0.4889 GB, free: 0.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1249, allocations: 55.42 kB / 0.489 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1249, allocations: 0 / 0.489 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of Templates: time 0.4567/0.5816, allocations: 6.792 MB / 0.4956 GB, free: 9.801 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches