Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007844/0.0007845, allocations: 95.94 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008985/0.0008985, allocations: 206.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.8 MB / 246.8 MB, free: 9.758 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 12 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 63.56 MB / 483.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002098/0.1201, allocations: 1.446 MB / 484.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1216, allocations: 0.9902 MB / 485.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.1217, allocations: 4 kB / 485.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.1219, allocations: 47.81 kB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.1222, allocations: 71.75 kB / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.1223, allocations: 63.88 kB / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1225, allocations: 103.6 kB / 485.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.1226, allocations: 12 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.1227, allocations: 43.78 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.1228, allocations: 35.78 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1228, allocations: 0 / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.459e-05/0.1229, allocations: 43.97 kB / 485.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.1229, allocations: 19.86 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.123, allocations: 57.45 kB / 486 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1232, allocations: 115.9 kB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1232, allocations: 4 kB / 486.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1232, allocations: 0 / 486.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1232, allocations: 4 kB / 486.1 MB, free: 1.047 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.0005457/0.1238, allocations: 407 kB / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1238, allocations: 16.81 kB / 486.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.1239, allocations: 8.844 kB / 486.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1241, allocations: 219.9 kB / 486.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1241, allocations: 4.375 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1242, allocations: 8.125 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1243, allocations: 49.67 kB / 486.8 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1243, allocations: 4 kB / 486.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1243, allocations: 8 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1243, allocations: 0 / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.532e-05/0.1244, allocations: 15.98 kB / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.1247, allocations: 288.9 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1249, allocations: 62.62 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.125, allocations: 20.84 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.125, allocations: 3.984 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.1252, allocations: 67.39 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1252, allocations: 0 / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004815/0.1257, allocations: 181 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1257, allocations: 55.41 kB / 487.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1259, allocations: 206.9 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1259, allocations: 29.7 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.126, allocations: 104.1 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.126, allocations: 23.7 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.1261, allocations: 13.72 kB / 487.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1262, allocations: 326.8 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/0.1262, allocations: 31.86 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.1263, allocations: 37.7 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1264, allocations: 57.72 kB / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1264, allocations: 0 / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001709/0.1266, allocations: 101.4 kB / 488.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1266, allocations: 8 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1266, allocations: 0 / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.1266, allocations: 0 / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.1267, allocations: 20.02 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1267, allocations: 4 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.1268, allocations: 7.938 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1268, allocations: 7.938 kB / 488.5 MB, free: 14.46 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.0001005/0.1269, allocations: 130 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.1269, allocations: 11.91 kB / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.127, allocations: 17.34 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.127, allocations: 4 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.127, allocations: 0 / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.127, allocations: 7.938 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.1274, allocations: 395.7 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1275, allocations: 0 / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.1275, allocations: 12 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1275, allocations: 0 / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1275, allocations: 11.92 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1275, allocations: 0 / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1275, allocations: 0 / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1278, allocations: 212.2 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.1278, allocations: 88.92 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.1279, allocations: 15.92 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.1279, allocations: 0 / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.128, allocations: 4 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.128, allocations: 7.984 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1281, allocations: 164.3 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1281, allocations: 0 / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1284, allocations: 20 kB / 489.6 MB, free: 13.27 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.001055/0.1294, allocations: 460.9 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.1296, allocations: 59.91 kB / 490.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1296, allocations: 0 / 490.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/0.1297, allocations: 31.92 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1301, allocations: 27.98 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.1305, allocations: 258.3 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1308, allocations: 0.716 MB / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.1309, allocations: 20.88 kB / 491.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.1309, allocations: 15.44 kB / 491.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.131, allocations: 0 / 491.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of Templates: time 0.004138/0.1351, allocations: 1.651 MB / 492.8 MB, free: 10.17 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches