Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1981/0.1981, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 75.89 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1233, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003107/0.1264, allocations: 1.677 MB / 483.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.128, allocations: 1.008 MB / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.1281, allocations: 0 / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.1284, allocations: 67.72 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.1288, allocations: 107.6 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.1289, allocations: 67.69 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1291, allocations: 111.7 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.1292, allocations: 8.234 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.1293, allocations: 43.78 kB / 484.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1294, allocations: 51.77 kB / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1294, allocations: 4 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-05/0.1295, allocations: 31.98 kB / 484.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.1295, allocations: 19.92 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.1296, allocations: 35.73 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1298, allocations: 99.66 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1298, allocations: 0 / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1298, allocations: 4 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1298, allocations: 4 kB / 484.8 MB, free: 1.168 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005739/0.1304, allocations: 414.9 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1305, allocations: 8.031 kB / 485.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.1305, allocations: 8.844 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1308, allocations: 208.8 kB / 485.4 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.1308, allocations: 4.312 kB / 485.4 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1308, allocations: 8.125 kB / 485.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.131, allocations: 53.67 kB / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.131, allocations: 0 / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.131, allocations: 0 / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.131, allocations: 7.938 kB / 485.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.1311, allocations: 15.98 kB / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.1313, allocations: 185.6 kB / 485.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1315, allocations: 50.61 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.1315, allocations: 24.8 kB / 485.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.1315, allocations: 0 / 485.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.1317, allocations: 67.39 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1317, allocations: 0 / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002762/0.132, allocations: 101.4 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.132, allocations: 51.41 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1322, allocations: 198.4 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1323, allocations: 29.7 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.1323, allocations: 100.1 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.1324, allocations: 11.89 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.1324, allocations: 17.72 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1325, allocations: 326.8 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/0.1326, allocations: 15.98 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.914e-05/0.1326, allocations: 25.72 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.954e-05/0.1327, allocations: 49.64 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1327, allocations: 0 / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001521/0.1329, allocations: 85.38 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1329, allocations: 8 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1329, allocations: 3.984 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1329, allocations: 0 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.133, allocations: 8 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.133, allocations: 8.031 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.1331, allocations: 0 / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1331, allocations: 8.156 kB / 486.9 MB, free: 14.87 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 (7): * Single equations (assignments): 7 * 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 8.652e-05/0.1332, allocations: 125.8 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.1332, allocations: 11.81 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.1333, allocations: 16.98 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1333, allocations: 7.938 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1333, allocations: 0 / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1333, allocations: 320 / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.1334, allocations: 193.5 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1334, allocations: 4 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.876e-05/0.1335, allocations: 4 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.1335, allocations: 3.984 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1335, allocations: 3.938 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1335, allocations: 3.984 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1335, allocations: 0 / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1337, allocations: 117 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.1337, allocations: 88.94 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1338, allocations: 0 / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.1338, allocations: 4 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.1338, allocations: 3.984 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1339, allocations: 4 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.134, allocations: 148.2 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.134, allocations: 0 / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.1342, allocations: 20 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001017/0.1352, allocations: 403.7 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.1354, allocations: 43.92 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1354, allocations: 0 / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.97e-05/0.1355, allocations: 19.98 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.1357, allocations: 31.42 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.1362, allocations: 209.9 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1364, allocations: 0.705 MB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.273e-05/0.1365, allocations: 12.55 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.1365, allocations: 15.44 kB / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1365, allocations: 0 / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of Templates: time 0.004026/0.1405, allocations: 1.493 MB / 490.5 MB, free: 11.2 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches