Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 108.7 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001699/0.001699, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.3 MB, free: 9.121 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.248/0.248, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 84.72 kB / 416.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1376, allocations: 62.45 MB / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002864/0.1405, allocations: 1.742 MB / 481 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.142, allocations: 0.9978 MB / 482 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.1421, allocations: 0 / 482 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.1424, allocations: 63.8 kB / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.1426, allocations: 83.73 kB / 482.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.1428, allocations: 63.86 kB / 482.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.1429, allocations: 99.69 kB / 482.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.143, allocations: 16.2 kB / 482.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.1431, allocations: 43.73 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.1432, allocations: 47.81 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1432, allocations: 7.938 kB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.312e-05/0.1433, allocations: 24 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.1433, allocations: 15.98 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.1434, allocations: 39.67 kB / 482.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.1435, allocations: 99.92 kB / 482.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1435, allocations: 0 / 482.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1435, allocations: 0 / 482.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1436, allocations: 4 kB / 482.6 MB, free: 2.324 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.0004882/0.144, allocations: 410.9 kB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1441, allocations: 8.875 kB / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.1441, allocations: 12.84 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1443, allocations: 208.8 kB / 483.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1444, allocations: 4.375 kB / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.1444, allocations: 4.125 kB / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1445, allocations: 53.61 kB / 483.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1445, allocations: 4 kB / 483.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1446, allocations: 0 / 483.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1446, allocations: 0 / 483.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.74e-05/0.1446, allocations: 15.98 kB / 483.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1448, allocations: 177.7 kB / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.145, allocations: 50.56 kB / 483.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.1451, allocations: 28.78 kB / 483.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1451, allocations: 4 kB / 483.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.1453, allocations: 67.33 kB / 483.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.1453, allocations: 0 / 483.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002685/0.1455, allocations: 97.48 kB / 483.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1456, allocations: 55.39 kB / 483.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1458, allocations: 186.9 kB / 484 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1458, allocations: 33.69 kB / 484 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.1459, allocations: 104.1 kB / 484.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.1459, allocations: 11.89 kB / 484.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.1459, allocations: 21.72 kB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.146, allocations: 318.8 kB / 484.5 MB, free: 276 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.1461, allocations: 12 kB / 484.5 MB, free: 264 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.573e-05/0.1462, allocations: 29.7 kB / 484.5 MB, free: 228 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.626e-05/0.1463, allocations: 45.7 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1463, allocations: 0 / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001571/0.1464, allocations: 93.38 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1465, allocations: 7.938 kB / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1465, allocations: 320 / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1465, allocations: 0 / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.1466, allocations: 19.98 kB / 484.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1466, allocations: 0 / 484.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.1466, allocations: 8.031 kB / 484.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1467, allocations: 0 / 484.7 MB, free: 40 kB / 350.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.0001082/0.1468, allocations: 132.5 kB / 484.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.1468, allocations: 15.81 kB / 484.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.1468, allocations: 13 kB / 484.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1469, allocations: 0 / 484.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1469, allocations: 3.984 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1469, allocations: 0 / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.147, allocations: 197.5 kB / 485 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.147, allocations: 4 kB / 485 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.1471, allocations: 4 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1471, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1471, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1471, allocations: 4 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1471, allocations: 3.984 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.1473, allocations: 105 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.1473, allocations: 88.94 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1474, allocations: 8 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.1474, allocations: 4 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.1474, allocations: 7.938 kB / 485.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1475, allocations: 3.984 kB / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1476, allocations: 148.8 kB / 485.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1476, allocations: 0 / 485.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1478, allocations: 23.98 kB / 485.4 MB, free: 15.2 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.0009104/0.1487, allocations: 413.5 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1489, allocations: 35.98 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1489, allocations: 0 / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.49e-05/0.149, allocations: 23.92 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.1493, allocations: 27.92 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.1497, allocations: 219.8 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.15, allocations: 0.7004 MB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.04e-05/0.1501, allocations: 20.39 kB / 486.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.1501, allocations: 11.44 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of SimCode: time 1.794e-06/0.1501, allocations: 4 kB / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of Templates: time 0.003872/0.154, allocations: 1.449 MB / 488.3 MB, free: 12.39 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches