Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 81.41 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1086, allocations: 62.43 MB / 480 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003227/0.1119, allocations: 1.731 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1136, allocations: 1.025 MB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.1137, allocations: 0 / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.114, allocations: 55.75 kB / 482.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.1143, allocations: 103.5 kB / 482.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.1144, allocations: 67.75 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1146, allocations: 115.6 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1147, allocations: 16 kB / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.456e-05/0.1148, allocations: 39.8 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.1149, allocations: 35.77 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1149, allocations: 4 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.115, allocations: 39.98 kB / 483.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.1151, allocations: 27.92 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.1151, allocations: 39.67 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1153, allocations: 139.8 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1153, allocations: 3.938 kB / 483.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1153, allocations: 0 / 483.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1153, allocations: 4 kB / 483.5 MB, free: 1.805 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005118/0.1159, allocations: 450.7 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.1159, allocations: 8.031 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.116, allocations: 12.84 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.1162, allocations: 220.9 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1162, allocations: 384 / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1162, allocations: 8.125 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1163, allocations: 61.61 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1164, allocations: 0 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1164, allocations: 4 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1164, allocations: 0 / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.273e-05/0.1165, allocations: 19.98 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.1168, allocations: 292.9 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.117, allocations: 58.62 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.117, allocations: 24.84 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1171, allocations: 4 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.1173, allocations: 63.39 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1173, allocations: 0 / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005101/0.1178, allocations: 193.1 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1178, allocations: 55.34 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.1181, allocations: 275.1 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1181, allocations: 29.64 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.1182, allocations: 116.1 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.1182, allocations: 19.7 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.1183, allocations: 21.72 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1184, allocations: 338.8 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.1185, allocations: 12 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.1185, allocations: 45.64 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.1187, allocations: 57.7 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1187, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.1188, allocations: 105.4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1189, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1189, allocations: 4.156 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1189, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.446e-05/0.119, allocations: 12 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.119, allocations: 8.016 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.1191, allocations: 19.86 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1191, allocations: 4 kB / 485.9 MB, free: 15.07 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 (10): * Single equations (assignments): 10 * 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.0001046/0.1192, allocations: 137.8 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1192, allocations: 11.81 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.1193, allocations: 21.39 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.1193, allocations: 7.984 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1193, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1193, allocations: 3.938 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.1197, allocations: 407.2 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1197, allocations: 0 / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.1198, allocations: 8 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1198, allocations: 0 / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1198, allocations: 7.938 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1198, allocations: 0 / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1198, allocations: 0 / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.12, allocations: 216.2 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.1201, allocations: 92.86 kB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1201, allocations: 7.938 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.1202, allocations: 4 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.1202, allocations: 7.922 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1203, allocations: 4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1204, allocations: 212.6 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1204, allocations: 0 / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1207, allocations: 23.92 kB / 487.1 MB, free: 13.82 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: 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 (8): * Single equations (assignments): 6 * 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.0009982/0.1217, allocations: 463.2 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.1219, allocations: 63.91 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1219, allocations: 0 / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.122, allocations: 23.94 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1223, allocations: 34.91 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.1228, allocations: 300.1 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1231, allocations: 0.7158 MB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.327e-05/0.1232, allocations: 16.86 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.1232, allocations: 19.44 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1232, allocations: 3.938 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004461/0.1277, allocations: 1.759 MB / 490.5 MB, free: 10.56 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches