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.001046/0.001046, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00113/0.00113, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.341/1.341, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2149/0.2149, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 68.75 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1384, allocations: 60.81 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004869/0.1433, allocations: 1.912 MB / 471.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1453, allocations: 0.9197 MB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.1455, allocations: 0 / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.146, allocations: 39.7 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.1464, allocations: 63.62 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.1468, allocations: 130.8 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.1471, allocations: 131.6 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1472, allocations: 37.47 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1474, allocations: 51.73 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1476, allocations: 55.64 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.1476, allocations: 8 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1477, allocations: 43.98 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.1478, allocations: 31.84 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.908e-05/0.1479, allocations: 43.69 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.1482, allocations: 151.7 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1482, allocations: 0 / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1482, allocations: 0 / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1483, allocations: 0 / 472.9 MB, free: 10.77 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.0007368/0.149, allocations: 480.5 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1491, allocations: 8.031 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.1491, allocations: 16.75 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1494, allocations: 223.9 kB / 473.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1495, allocations: 8.375 kB / 473.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.1495, allocations: 12.12 kB / 473.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.1498, allocations: 103.6 kB / 473.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1499, allocations: 3.938 kB / 473.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.1499, allocations: 11.98 kB / 473.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1499, allocations: 0 / 473.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1501, allocations: 43.97 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.1509, allocations: 0.5087 MB / 474.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.1513, allocations: 90.66 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.752e-05/0.1514, allocations: 48.7 kB / 474.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.1514, allocations: 4 kB / 474.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.1517, allocations: 75.38 kB / 474.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1517, allocations: 0 / 474.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004161/0.1522, allocations: 149.4 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1522, allocations: 55.34 kB / 474.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1524, allocations: 187.8 kB / 474.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1524, allocations: 29.7 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.1525, allocations: 116 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1526, allocations: 27.61 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.1526, allocations: 29.66 kB / 475.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1527, allocations: 330.8 kB / 475.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.1528, allocations: 27.98 kB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.1529, allocations: 64.22 kB / 475.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.1532, allocations: 100.2 kB / 475.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1532, allocations: 0 / 475.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000255/0.1534, allocations: 137.3 kB / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1534, allocations: 4 kB / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1535, allocations: 8.125 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1535, allocations: 0 / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.1536, allocations: 31.86 kB / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1536, allocations: 0 / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.1537, allocations: 11.92 kB / 475.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1537, allocations: 4 kB / 475.8 MB, free: 7.586 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 ($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.0001208/0.1538, allocations: 125.8 kB / 475.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1539, allocations: 11.81 kB / 475.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.1539, allocations: 21.39 kB / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1539, allocations: 11.94 kB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1539, allocations: 0 / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1539, allocations: 0 / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1541, allocations: 209.6 kB / 476.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1541, allocations: 0 / 476.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.1542, allocations: 15.92 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1542, allocations: 4 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1543, allocations: 4 kB / 476.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.1543, allocations: 3.938 kB / 476.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1543, allocations: 4.031 kB / 476.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.1547, allocations: 184.8 kB / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.1547, allocations: 92.89 kB / 476.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.1548, allocations: 7.984 kB / 476.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.1548, allocations: 7.938 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.1549, allocations: 7.984 kB / 476.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1549, allocations: 4 kB / 476.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.155, allocations: 149.3 kB / 476.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.155, allocations: 0 / 476.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1553, allocations: 24 kB / 476.6 MB, free: 6.621 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 (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.001093/0.1564, allocations: 405.5 kB / 477 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.1567, allocations: 87.83 kB / 477.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1567, allocations: 256 / 477.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1568, allocations: 43.91 kB / 477.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1572, allocations: 41.41 kB / 477.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.1579, allocations: 263.9 kB / 477.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.1584, allocations: 0.7084 MB / 478.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.1585, allocations: 25.41 kB / 478.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.1586, allocations: 23.36 kB / 478.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1586, allocations: 0 / 478.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of Templates: time 0.006118/0.1647, allocations: 1.878 MB / 480.1 MB, free: 3.277 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