Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 109.3 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 46.09 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 71.11 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1362, allocations: 62.45 MB / 479.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003398/0.1396, allocations: 1.731 MB / 481.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1414, allocations: 0.9967 MB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.1415, allocations: 0 / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.1419, allocations: 63.8 kB / 482.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.1423, allocations: 87.72 kB / 482.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1425, allocations: 67.81 kB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.1428, allocations: 103.7 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.609e-05/0.1429, allocations: 16.22 kB / 482.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.143, allocations: 43.73 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1431, allocations: 51.81 kB / 482.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1431, allocations: 7.938 kB / 482.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1432, allocations: 28 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.1433, allocations: 19.92 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.1434, allocations: 39.72 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1436, allocations: 99.94 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1436, allocations: 0 / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1436, allocations: 4 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1436, allocations: 0 / 482.8 MB, free: 2.266 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.0005639/0.1442, allocations: 410.9 kB / 483.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1442, allocations: 8.031 kB / 483.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.1443, allocations: 12.84 kB / 483.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.1445, allocations: 212.7 kB / 483.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1446, allocations: 4.375 kB / 483.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.1446, allocations: 4.125 kB / 483.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1448, allocations: 49.67 kB / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1448, allocations: 4 kB / 483.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1448, allocations: 4 kB / 483.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1448, allocations: 0 / 483.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.1449, allocations: 11.98 kB / 483.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.1451, allocations: 177.7 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1453, allocations: 54.56 kB / 483.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.1454, allocations: 28.78 kB / 483.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1454, allocations: 4 kB / 483.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.1456, allocations: 67.39 kB / 483.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.026e-06/0.1457, allocations: 3.984 kB / 483.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002968/0.146, allocations: 97.42 kB / 484 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.146, allocations: 55.41 kB / 484 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.1462, allocations: 190.9 kB / 484.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1463, allocations: 25.7 kB / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.1463, allocations: 108.1 kB / 484.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.1464, allocations: 3.906 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.1464, allocations: 25.7 kB / 484.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1466, allocations: 318.8 kB / 484.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.416e-05/0.1466, allocations: 19.98 kB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.1467, allocations: 37.69 kB / 484.7 MB, free: 148 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.271e-05/0.1468, allocations: 45.64 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1468, allocations: 0 / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001629/0.147, allocations: 85.44 kB / 484.9 MB, free: 4 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.147, allocations: 4 kB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.147, allocations: 0 / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.147, allocations: 112 / 484.9 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.1471, allocations: 23.86 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1471, allocations: 4.031 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.1472, allocations: 4 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1472, allocations: 0 / 484.9 MB, free: 15.96 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 0.0001223/0.1474, allocations: 133.7 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.1474, allocations: 15.81 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.1474, allocations: 13 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1474, allocations: 0 / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1475, allocations: 0 / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1475, allocations: 0 / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.1476, allocations: 197.5 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1476, allocations: 0 / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.1477, allocations: 4.312 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1477, allocations: 0 / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1477, allocations: 4 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1477, allocations: 4 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1477, allocations: 3.938 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.1479, allocations: 109 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.148, allocations: 85.02 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.148, allocations: 7.984 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.148, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.1481, allocations: 4 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1481, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1482, allocations: 152.7 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1482, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.1485, allocations: 23.98 kB / 485.6 MB, free: 15.13 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.001035/0.1495, allocations: 406.6 kB / 486 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1497, allocations: 47.92 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1497, allocations: 0 / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.543e-05/0.1498, allocations: 16 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.1501, allocations: 32.47 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.1507, allocations: 233.9 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.1512, allocations: 0.701 MB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.394e-05/0.1512, allocations: 16.53 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.1513, allocations: 11.44 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1513, allocations: 4 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Templates: time 0.005356/0.1567, allocations: 1.468 MB / 488.6 MB, free: 12.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches