Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008146/0.0008146, allocations: 95.25 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.0009483/0.0009484, allocations: 201.5 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.311/1.311, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1948/0.1948, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 12 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1227, allocations: 63.56 MB / 483.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.001824/0.1246, allocations: 1.438 MB / 485.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1266, allocations: 1.585 MB / 486.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.1267, allocations: 0 / 486.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.127, allocations: 31.84 kB / 486.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.1273, allocations: 83.73 kB / 486.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.1274, allocations: 59.88 kB / 486.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1276, allocations: 107.6 kB / 487 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.242e-05/0.1277, allocations: 8 kB / 487.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.1278, allocations: 47.77 kB / 487.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1279, allocations: 39.78 kB / 487.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1279, allocations: 4 kB / 487.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.1281, allocations: 103.9 kB / 487.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.1281, allocations: 19.91 kB / 487.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.1282, allocations: 53.5 kB / 487.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.1284, allocations: 124 kB / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1284, allocations: 0 / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1284, allocations: 0 / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1284, allocations: 0 / 487.4 MB, free: 412 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005238/0.129, allocations: 419.2 kB / 487.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.129, allocations: 8.875 kB / 487.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.129, allocations: 8.844 kB / 487.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1293, allocations: 208.7 kB / 488.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1293, allocations: 7.938 kB / 488.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.1293, allocations: 0 / 488.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1295, allocations: 75.38 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1295, allocations: 3.938 kB / 488.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1295, allocations: 3.938 kB / 488.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1295, allocations: 0 / 488.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.1296, allocations: 19.98 kB / 488.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.13, allocations: 284.9 kB / 488.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.1301, allocations: 58.67 kB / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.1302, allocations: 28.78 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1302, allocations: 3.938 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.1304, allocations: 67.38 kB / 488.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1304, allocations: 0 / 488.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004901/0.1309, allocations: 173.2 kB / 488.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1309, allocations: 89.03 kB / 488.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1311, allocations: 161.9 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1311, allocations: 33.7 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.1312, allocations: 92.14 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1312, allocations: 27.64 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.1312, allocations: 13.72 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1314, allocations: 322.8 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.1314, allocations: 23.98 kB / 489.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.1315, allocations: 42.56 kB / 489.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.1316, allocations: 61.66 kB / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1316, allocations: 0 / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.1318, allocations: 101.5 kB / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1318, allocations: 10.19 kB / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1318, allocations: 0 / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1319, allocations: 4.062 kB / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.1319, allocations: 16.36 kB / 489.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.132, allocations: 7.938 kB / 489.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.132, allocations: 4 kB / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.132, allocations: 8 kB / 489.8 MB, free: 13.82 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 9.1e-05/0.1321, allocations: 117.8 kB / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1322, allocations: 15.8 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.1322, allocations: 16.86 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1322, allocations: 7.938 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1322, allocations: 3.938 kB / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1322, allocations: 0 / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.1327, allocations: 399.3 kB / 490.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1327, allocations: 3.938 kB / 490.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.1328, allocations: 15.92 kB / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1328, allocations: 0 / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1328, allocations: 4 kB / 490.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1328, allocations: 8.031 kB / 490.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1328, allocations: 0 / 490.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.133, allocations: 192.5 kB / 490.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.1331, allocations: 96.94 kB / 490.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1331, allocations: 3.938 kB / 490.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.1332, allocations: 8 kB / 490.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.1332, allocations: 15.92 kB / 490.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1332, allocations: 4 kB / 490.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.582e-05/0.1333, allocations: 123.2 kB / 490.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1333, allocations: 0 / 490.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.1336, allocations: 43.98 kB / 490.8 MB, free: 12.65 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.001178/0.1348, allocations: 0.5386 MB / 491.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.135, allocations: 59.91 kB / 491.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.135, allocations: 4 kB / 491.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.396e-05/0.1351, allocations: 23.98 kB / 491.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1354, allocations: 35.91 kB / 491.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.1358, allocations: 251.8 kB / 491.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.1361, allocations: 0.7004 MB / 492.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.1361, allocations: 19.42 kB / 492.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1361, allocations: 4 kB / 492.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Templates: time 0.004197/0.1403, allocations: 2.38 MB / 494.8 MB, free: 8.77 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches