Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001668/0.001668, allocations: 103.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002337/0.002338, allocations: 209.8 kB / 18.92 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.344/2.344, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.356/0.356, allocations: 46.11 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 75.75 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.127, allocations: 62.45 MB / 480.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003717/0.1307, allocations: 1.985 MB / 482.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1326, allocations: 1.045 MB / 483.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.1328, allocations: 0 / 483.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.1332, allocations: 39.84 kB / 483.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.1337, allocations: 79.67 kB / 483.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1341, allocations: 87.8 kB / 483.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.1344, allocations: 139.6 kB / 483.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1345, allocations: 29.55 kB / 483.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.1347, allocations: 59.72 kB / 483.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1348, allocations: 51.64 kB / 483.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.1349, allocations: 11.94 kB / 483.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.135, allocations: 43.98 kB / 483.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.1351, allocations: 27.91 kB / 483.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.1352, allocations: 59.66 kB / 483.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.1354, allocations: 116 kB / 483.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1355, allocations: 0 / 483.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1355, allocations: 0 / 483.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1355, allocations: 0 / 483.9 MB, free: 1.844 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008011/0.1363, allocations: 484.4 kB / 484.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1363, allocations: 12.02 kB / 484.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.1364, allocations: 20.75 kB / 484.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.1368, allocations: 229.6 kB / 484.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1368, allocations: 4.375 kB / 484.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.1368, allocations: 16.11 kB / 484.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.1371, allocations: 106.8 kB / 484.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1371, allocations: 3.938 kB / 484.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1372, allocations: 0 / 484.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1372, allocations: 3.984 kB / 484.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.1373, allocations: 55.91 kB / 484.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/0.138, allocations: 0.5009 MB / 485.3 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.1384, allocations: 94.59 kB / 485.4 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1385, allocations: 44.83 kB / 485.5 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1385, allocations: 0 / 485.5 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.1389, allocations: 83.31 kB / 485.6 MB, free: 20 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1389, allocations: 4 kB / 485.6 MB, free: 16 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004469/0.1393, allocations: 141.4 kB / 485.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.1394, allocations: 67.27 kB / 485.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.1396, allocations: 198.2 kB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1396, allocations: 25.7 kB / 486 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.1397, allocations: 116 kB / 486.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.1397, allocations: 31.55 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.1398, allocations: 29.72 kB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1399, allocations: 330.8 kB / 486.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.863e-05/0.14, allocations: 27.98 kB / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.1401, allocations: 60.27 kB / 486.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.1403, allocations: 96.22 kB / 486.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1404, allocations: 4 kB / 486.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002879/0.1406, allocations: 133.7 kB / 486.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1407, allocations: 8.125 kB / 486.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1407, allocations: 96 / 486.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1407, allocations: 7.938 kB / 486.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1408, allocations: 31.86 kB / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1408, allocations: 0 / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.357e-05/0.1409, allocations: 15.92 kB / 486.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1409, allocations: 4 kB / 486.9 MB, free: 14.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001059/0.141, allocations: 132 kB / 487 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.1411, allocations: 15.81 kB / 487 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.1411, allocations: 17.39 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1411, allocations: 7.938 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1412, allocations: 0 / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1412, allocations: 0 / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.1414, allocations: 217.4 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1414, allocations: 0 / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.1415, allocations: 19.98 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1415, allocations: 0 / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1415, allocations: 0 / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1415, allocations: 3.938 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1415, allocations: 8 kB / 487.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.1419, allocations: 180.9 kB / 487.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.1419, allocations: 92.89 kB / 487.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.142, allocations: 0 / 487.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.1421, allocations: 15.92 kB / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.1421, allocations: 8 kB / 487.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1421, allocations: 4.062 kB / 487.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1423, allocations: 148.4 kB / 487.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.1423, allocations: 0 / 487.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1425, allocations: 36.05 kB / 487.7 MB, free: 13.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.1436, allocations: 393 kB / 488.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.1438, allocations: 84.08 kB / 488.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1439, allocations: 8 kB / 488.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.144, allocations: 39.92 kB / 488.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.1443, allocations: 39.33 kB / 488.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.1449, allocations: 325.6 kB / 488.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1451, allocations: 0.7123 MB / 489.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.1452, allocations: 19.44 kB / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1452, allocations: 0 / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.004337/0.1495, allocations: 2.212 MB / 491.6 MB, free: 9.906 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches