Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001115, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 209.8 kB / 18.27 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.431/1.431, allocations: 227.4 MB / 246.4 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.11 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 79.81 kB / 417.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1401, allocations: 62.43 MB / 479.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003999/0.1442, allocations: 1.993 MB / 481.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1462, allocations: 1.045 MB / 482.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1464, allocations: 4 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004525/0.1468, allocations: 39.83 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.1472, allocations: 75.69 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.1475, allocations: 87.8 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.1478, allocations: 139.6 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1479, allocations: 29.55 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.148, allocations: 59.66 kB / 483 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1481, allocations: 47.72 kB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1482, allocations: 11.94 kB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1483, allocations: 43.97 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.1484, allocations: 27.92 kB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.1484, allocations: 51.67 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.1487, allocations: 159.7 kB / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1487, allocations: 0 / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1488, allocations: 0 / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1488, allocations: 3.938 kB / 483.3 MB, free: 1.758 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.0007133/0.1495, allocations: 484.4 kB / 483.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1495, allocations: 12.02 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.1496, allocations: 16.75 kB / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1499, allocations: 229.6 kB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1499, allocations: 12.31 kB / 484 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.15, allocations: 16.05 kB / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.1502, allocations: 104.2 kB / 484.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1502, allocations: 0 / 484.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1503, allocations: 0 / 484.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1503, allocations: 3.984 kB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1504, allocations: 55.91 kB / 484.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.1511, allocations: 0.497 MB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.1514, allocations: 94.59 kB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.781e-05/0.1515, allocations: 40.83 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1516, allocations: 0 / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.1519, allocations: 91.31 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.1519, allocations: 0 / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004206/0.1524, allocations: 141.4 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/0.1525, allocations: 63.33 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.1527, allocations: 194.2 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1527, allocations: 29.7 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1528, allocations: 116 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.1529, allocations: 35.53 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.1529, allocations: 29.72 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1531, allocations: 326.8 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.013e-05/0.1532, allocations: 27.98 kB / 485.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1533, allocations: 68.39 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.1535, allocations: 96.53 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1535, allocations: 4 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002695/0.1538, allocations: 141.4 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1538, allocations: 8 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1539, allocations: 0 / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.1539, allocations: 8 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.154, allocations: 27.92 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.154, allocations: 0 / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.1541, allocations: 11.92 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1541, allocations: 8 kB / 486.2 MB, free: 14.54 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.0001146/0.1542, allocations: 128.4 kB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.1543, allocations: 19.81 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.1543, allocations: 17.39 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1543, allocations: 11.88 kB / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1543, allocations: 0 / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1544, allocations: 0 / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1546, allocations: 209.5 kB / 486.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1546, allocations: 0 / 486.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.277e-05/0.1546, allocations: 15.98 kB / 486.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1547, allocations: 0 / 486.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1547, allocations: 0 / 486.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1547, allocations: 3.938 kB / 486.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1547, allocations: 8 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.1551, allocations: 185 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.1551, allocations: 92.89 kB / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1552, allocations: 0 / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.074e-05/0.1552, allocations: 11.92 kB / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.1553, allocations: 12 kB / 486.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.1553, allocations: 4 kB / 486.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1554, allocations: 144.4 kB / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1554, allocations: 0 / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1557, allocations: 31.98 kB / 487.1 MB, free: 13.56 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.0009198/0.1566, allocations: 407.2 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.1569, allocations: 84.03 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1569, allocations: 0 / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.467e-05/0.157, allocations: 39.97 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.1573, allocations: 37.75 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.1579, allocations: 299.9 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1582, allocations: 0.7162 MB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.228e-05/0.1583, allocations: 21.8 kB / 488.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.1583, allocations: 15.44 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1583, allocations: 0 / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.005066/0.1634, allocations: 1.853 MB / 490.6 MB, free: 10.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches