Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.001359, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001373/0.001373, allocations: 192 kB / 18.56 MB, free: 4.434 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.336/1.336, allocations: 222.9 MB / 242.2 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2038/0.2038, allocations: 44.19 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.55 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1469, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003958/0.1509, allocations: 1.7 MB / 471 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1524, allocations: 0.8769 MB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.1525, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.1528, allocations: 43.78 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1531, allocations: 51.75 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1534, allocations: 115.5 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1536, allocations: 99.69 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1537, allocations: 12.22 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.37e-05/0.1538, allocations: 43.78 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.1539, allocations: 27.86 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1539, allocations: 4 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.154, allocations: 39.98 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.1541, allocations: 23.84 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.1542, allocations: 43.73 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.1544, allocations: 111.9 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1544, allocations: 0 / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1544, allocations: 0 / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1544, allocations: 3.984 kB / 472.4 MB, free: 11.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000743/0.1552, allocations: 407 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.1552, allocations: 16.03 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.1553, allocations: 12.83 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.1556, allocations: 214.5 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1557, allocations: 4.375 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.1557, allocations: 8.125 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1559, allocations: 53.67 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.1559, allocations: 0 / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1559, allocations: 3.984 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.156, allocations: 0 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.156, allocations: 23.98 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.1566, allocations: 284.8 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1567, allocations: 58.62 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.1568, allocations: 20.84 kB / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.1569, allocations: 8 kB / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.1572, allocations: 63.39 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1572, allocations: 0 / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006219/0.1578, allocations: 173.1 kB / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.1579, allocations: 55.41 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1582, allocations: 199.3 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1582, allocations: 25.7 kB / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.1583, allocations: 112.1 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.1583, allocations: 19.72 kB / 474.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1584, allocations: 21.7 kB / 474.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.1585, allocations: 330.7 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.1586, allocations: 20 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.1587, allocations: 38.02 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1588, allocations: 65.69 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1588, allocations: 0 / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.159, allocations: 105.5 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.159, allocations: 8 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.159, allocations: 0 / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1591, allocations: 0 / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.1592, allocations: 12 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.557e-06/0.1592, allocations: 4 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.1592, allocations: 11.86 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1593, allocations: 12.03 kB / 474.8 MB, free: 8.594 MB / 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 (10): * Single equations (assignments): 10 * 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.0001131/0.1594, allocations: 124 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.1594, allocations: 15.81 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.1595, allocations: 17.39 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1595, allocations: 0 / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1595, allocations: 0 / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1595, allocations: 3.938 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.1599, allocations: 395.3 kB / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1599, allocations: 0 / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.16, allocations: 11.98 kB / 475.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.16, allocations: 4 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.16, allocations: 7.938 kB / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.16, allocations: 0 / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.16, allocations: 3.984 kB / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1603, allocations: 204.4 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.1603, allocations: 85.02 kB / 475.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.1604, allocations: 15.92 kB / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.1605, allocations: 0 / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1605, allocations: 4 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1605, allocations: 7.984 kB / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1607, allocations: 148 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1607, allocations: 0 / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1609, allocations: 31.98 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001296/0.1622, allocations: 470.9 kB / 476.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1624, allocations: 63.89 kB / 476.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1625, allocations: 0 / 476.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.1625, allocations: 35.92 kB / 476.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1629, allocations: 31.92 kB / 476.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.1634, allocations: 239.2 kB / 476.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1638, allocations: 0.7002 MB / 477.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.1638, allocations: 17.19 kB / 477.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.1639, allocations: 15.44 kB / 477.4 MB, free: 6 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1639, allocations: 4 kB / 477.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of Templates: time 0.004854/0.1687, allocations: 1.709 MB / 479.1 MB, free: 4.312 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches