Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009285/0.0009286, allocations: 101.1 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 182.2 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 44.25 MB / 337.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 8.562 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002814/0.1485, allocations: 1.575 MB / 473.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1501, allocations: 0.8348 MB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.1503, allocations: 7.938 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.1508, allocations: 39.83 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.1511, allocations: 47.77 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.1515, allocations: 102.7 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.1518, allocations: 123.5 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1519, allocations: 25.48 kB / 474.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1521, allocations: 47.72 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1522, allocations: 47.7 kB / 474.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1522, allocations: 4 kB / 474.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1524, allocations: 32 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.1524, allocations: 23.91 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.1525, allocations: 41.64 kB / 474.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1527, allocations: 100 kB / 474.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1527, allocations: 0 / 474.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1527, allocations: 7.938 kB / 474.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1528, allocations: 0 / 474.7 MB, free: 10.64 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.0007715/0.1535, allocations: 456.5 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.1536, allocations: 8.031 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.1537, allocations: 23.73 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.154, allocations: 218.8 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.1541, allocations: 4 kB / 475.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1541, allocations: 12 kB / 475.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.1544, allocations: 112.1 kB / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1544, allocations: 0 / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1545, allocations: 4 kB / 475.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1545, allocations: 4 kB / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.1546, allocations: 59.89 kB / 475.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.1554, allocations: 0.5087 MB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.1557, allocations: 94.59 kB / 476.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1558, allocations: 40.84 kB / 476.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1559, allocations: 0 / 476.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.1561, allocations: 83.38 kB / 476.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1561, allocations: 0 / 476.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004251/0.1566, allocations: 145.5 kB / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1566, allocations: 55.34 kB / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1568, allocations: 191.4 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1569, allocations: 33.7 kB / 476.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.157, allocations: 116 kB / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.157, allocations: 23.66 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.157, allocations: 0 / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1571, allocations: 330.8 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-05/0.1572, allocations: 31.97 kB / 477.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1573, allocations: 64.66 kB / 477.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1575, allocations: 39.92 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1575, allocations: 0 / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000396/0.1579, allocations: 149.3 kB / 477.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1579, allocations: 4 kB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1579, allocations: 4 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1579, allocations: 0 / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.158, allocations: 23.98 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.158, allocations: 0 / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.1581, allocations: 19.97 kB / 477.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1581, allocations: 11.92 kB / 477.5 MB, free: 7.547 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.1583, allocations: 130.3 kB / 477.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1584, allocations: 15.81 kB / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.1584, allocations: 21.39 kB / 477.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1584, allocations: 0 / 477.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1585, allocations: 0 / 477.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1585, allocations: 0 / 477.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.1588, allocations: 213.5 kB / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1588, allocations: 4 kB / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.1589, allocations: 12 kB / 477.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1589, allocations: 3.984 kB / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1589, allocations: 4 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1589, allocations: 0 / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1589, allocations: 0 / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.1593, allocations: 189 kB / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.1594, allocations: 96.97 kB / 478.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1594, allocations: 7.938 kB / 478.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.1595, allocations: 11.98 kB / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.1595, allocations: 11.92 kB / 478.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.1595, allocations: 8 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1597, allocations: 137.2 kB / 478.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1597, allocations: 4.062 kB / 478.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1599, allocations: 27.91 kB / 478.4 MB, free: 6.574 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.161, allocations: 405.5 kB / 478.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.1613, allocations: 87.83 kB / 478.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1613, allocations: 256 / 478.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1614, allocations: 43.92 kB / 478.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1617, allocations: 42.33 kB / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.1624, allocations: 286.2 kB / 479.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.1628, allocations: 0.7165 MB / 479.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.244e-05/0.1628, allocations: 21.42 kB / 479.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.1629, allocations: 15.44 kB / 480 MB, free: 5.082 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1629, allocations: 0 / 480 MB, free: 5.082 MB / 350.1 MB Notification: Performance of Templates: time 0.005296/0.1682, allocations: 1.726 MB / 481.7 MB, free: 3.371 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches