Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007558/0.0007558, allocations: 95.77 kB / 18.01 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008272/0.0008271, allocations: 206.2 kB / 18.93 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.7 MB / 247.5 MB, free: 11.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1858/0.1858, allocations: 46.19 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 12 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1245, allocations: 63.58 MB / 483.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001834/0.1264, allocations: 1.435 MB / 485.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1278, allocations: 0.9941 MB / 486.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.1279, allocations: 7.938 kB / 486.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.1281, allocations: 23.92 kB / 486.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.1284, allocations: 79.73 kB / 486.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1286, allocations: 67.81 kB / 486.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1287, allocations: 95.69 kB / 486.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.1288, allocations: 8 kB / 486.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.1289, allocations: 39.78 kB / 486.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.129, allocations: 31.78 kB / 486.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.129, allocations: 8 kB / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.658e-05/0.1291, allocations: 39.98 kB / 486.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.1292, allocations: 23.92 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.1292, allocations: 57.5 kB / 486.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1294, allocations: 84.03 kB / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1294, allocations: 0 / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1294, allocations: 0 / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1294, allocations: 0 / 486.7 MB, free: 1.117 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.000477/0.1299, allocations: 395.2 kB / 487.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1299, allocations: 12.88 kB / 487.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.13, allocations: 8.844 kB / 487.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1302, allocations: 204.1 kB / 487.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1302, allocations: 4.359 kB / 487.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.1302, allocations: 8.125 kB / 487.4 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1304, allocations: 57.67 kB / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1304, allocations: 0 / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1304, allocations: 3.938 kB / 487.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1304, allocations: 0 / 487.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.1305, allocations: 27.92 kB / 487.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.1309, allocations: 292.7 kB / 487.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.131, allocations: 54.69 kB / 487.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.1311, allocations: 20.84 kB / 487.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.1311, allocations: 0 / 487.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.1313, allocations: 75.33 kB / 487.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1313, allocations: 0 / 487.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005052/0.1318, allocations: 169.2 kB / 488 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1319, allocations: 51.41 kB / 488.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.132, allocations: 170.2 kB / 488.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1321, allocations: 29.7 kB / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.1321, allocations: 108.1 kB / 488.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.1322, allocations: 27.64 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.1322, allocations: 13.72 kB / 488.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1323, allocations: 326.8 kB / 488.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.1324, allocations: 19.98 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.1325, allocations: 33.72 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1326, allocations: 69.62 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1326, allocations: 0 / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001811/0.1328, allocations: 97.58 kB / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1328, allocations: 4 kB / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1328, allocations: 0 / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1329, allocations: 0 / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.133, allocations: 19.94 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.133, allocations: 0 / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.133, allocations: 15.92 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.133, allocations: 4.031 kB / 489 MB, free: 14.61 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.756e-05/0.1331, allocations: 117.8 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.1332, allocations: 15.8 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.09e-05/0.1332, allocations: 16.86 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1332, allocations: 4 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1332, allocations: 0 / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1332, allocations: 3.938 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.1337, allocations: 395.3 kB / 489.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1337, allocations: 3.938 kB / 489.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.1337, allocations: 11.98 kB / 489.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1337, allocations: 8.312 kB / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1338, allocations: 7.938 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1338, allocations: 4 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1338, allocations: 0 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.134, allocations: 196.3 kB / 489.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.1341, allocations: 93 kB / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1341, allocations: 7.938 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.1342, allocations: 0 / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.1342, allocations: 7.984 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1342, allocations: 8 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1344, allocations: 123.2 kB / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1344, allocations: 192 / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1346, allocations: 23.91 kB / 490 MB, free: 13.47 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.001093/0.1357, allocations: 469.1 kB / 490.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.1359, allocations: 51.98 kB / 490.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1359, allocations: 4.062 kB / 490.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.465e-05/0.136, allocations: 35.91 kB / 490.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1364, allocations: 23.92 kB / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.1369, allocations: 264.2 kB / 490.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1372, allocations: 0.7004 MB / 491.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.1372, allocations: 19.42 kB / 491.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.274e-06/0.1372, allocations: 0 / 491.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of Templates: time 0.003459/0.1407, allocations: 1.884 MB / 493.5 MB, free: 10.13 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches