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.001306/0.001306, allocations: 115.9 kB / 18.41 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 199.5 kB / 19.36 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2443/0.2443, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 79.88 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1487, allocations: 62.45 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003982/0.1527, allocations: 1.912 MB / 483.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1546, allocations: 1.064 MB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1547, allocations: 3.938 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.155, allocations: 47.7 kB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.1554, allocations: 103.5 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1556, allocations: 87.66 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.1558, allocations: 151.5 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.156, allocations: 33.53 kB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.1561, allocations: 51.72 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.465e-05/0.1562, allocations: 51.7 kB / 485 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1562, allocations: 8 kB / 485 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.519e-05/0.1563, allocations: 51.92 kB / 485 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.1564, allocations: 27.91 kB / 485.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.1564, allocations: 59.55 kB / 485.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1567, allocations: 155.5 kB / 485.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1567, allocations: 0 / 485.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1567, allocations: 0 / 485.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1567, allocations: 0 / 485.3 MB, free: 0.6875 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.000604/0.1573, allocations: 484.5 kB / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1574, allocations: 12.03 kB / 485.8 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.1574, allocations: 16.75 kB / 485.8 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.1578, allocations: 237.5 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1578, allocations: 8.359 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1578, allocations: 12.12 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.158, allocations: 110.7 kB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.158, allocations: 0 / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1581, allocations: 8 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1581, allocations: 0 / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1582, allocations: 43.97 kB / 486.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.1588, allocations: 0.5087 MB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.1591, allocations: 86.66 kB / 486.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/0.1592, allocations: 44.78 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1592, allocations: 0 / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1594, allocations: 83.38 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1594, allocations: 7.938 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003885/0.1598, allocations: 145.4 kB / 487.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.1599, allocations: 59.34 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1601, allocations: 199.1 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1602, allocations: 25.7 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.1603, allocations: 116.4 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.1603, allocations: 31.55 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.1604, allocations: 33.7 kB / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1605, allocations: 326.8 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1607, allocations: 31.92 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.1608, allocations: 64.2 kB / 487.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.1611, allocations: 96.22 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1611, allocations: 0 / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000396/0.1616, allocations: 137.3 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1616, allocations: 8.125 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1616, allocations: 0 / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1616, allocations: 4 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1618, allocations: 27.86 kB / 488.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.1618, allocations: 4 kB / 488.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.1619, allocations: 15.92 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1619, allocations: 4 kB / 488.2 MB, free: 13.47 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.0001392/0.1621, allocations: 121.8 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.1621, allocations: 15.81 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.642e-05/0.1622, allocations: 25.39 kB / 488.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.1622, allocations: 7.938 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1623, allocations: 0 / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1623, allocations: 3.984 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.1625, allocations: 213.5 kB / 488.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1625, allocations: 3.938 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.1626, allocations: 15.98 kB / 488.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1627, allocations: 0 / 488.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1627, allocations: 0 / 488.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.1627, allocations: 7.922 kB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1627, allocations: 4 kB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.1632, allocations: 181 kB / 488.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.1633, allocations: 92.86 kB / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.1634, allocations: 11.94 kB / 488.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.052e-05/0.1635, allocations: 11.92 kB / 488.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.1635, allocations: 4 kB / 488.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1635, allocations: 4.062 kB / 488.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.1637, allocations: 148.4 kB / 489.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1638, allocations: 0 / 489.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.1642, allocations: 27.98 kB / 489.1 MB, free: 12.49 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.00141/0.1656, allocations: 397.9 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.166, allocations: 84.02 kB / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.166, allocations: 4.062 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1661, allocations: 31.92 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.1666, allocations: 42.66 kB / 489.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.1673, allocations: 263.5 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1677, allocations: 0.7162 MB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.596e-05/0.1678, allocations: 17.42 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.1679, allocations: 23.44 kB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1679, allocations: 0 / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of Templates: time 0.006957/0.1748, allocations: 1.883 MB / 492.5 MB, free: 9.141 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 -s cvode -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