Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 94.22 kB / 18 MB, free: 5.602 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.001763/0.001764, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.434/1.434, allocations: 223.3 MB / 243 MB, free: 24 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.2927/0.2927, allocations: 44.25 MB / 338.3 MB, free: 2.617 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003217, allocations: 13.44 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002432/0.1359, allocations: 1.417 MB / 474.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1374, allocations: 0.8343 MB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.946e-05/0.1375, allocations: 11.94 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.1378, allocations: 31.89 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.1381, allocations: 43.83 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1385, allocations: 103.2 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1387, allocations: 87.7 kB / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1388, allocations: 16.22 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.1389, allocations: 35.8 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.139, allocations: 35.83 kB / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1391, allocations: 4 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1392, allocations: 39.98 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.1393, allocations: 19.84 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.1394, allocations: 57.45 kB / 475.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1396, allocations: 80.11 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1396, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1396, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1396, allocations: 0 / 475.7 MB, free: 10.48 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.00061/0.1402, allocations: 403.1 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1403, allocations: 8.031 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.1403, allocations: 12.84 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1406, allocations: 211.9 kB / 476.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.1406, allocations: 8.312 kB / 476.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1406, allocations: 8.062 kB / 476.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1408, allocations: 53.67 kB / 476.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1408, allocations: 0 / 476.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1409, allocations: 4 kB / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1409, allocations: 4 kB / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.718e-05/0.1409, allocations: 15.98 kB / 476.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.1414, allocations: 288.9 kB / 476.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1415, allocations: 54.62 kB / 476.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.1416, allocations: 28.84 kB / 476.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1416, allocations: 0 / 476.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.1418, allocations: 67.39 kB / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1419, allocations: 0 / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005938/0.1425, allocations: 173.2 kB / 477 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1425, allocations: 59.41 kB / 477.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1427, allocations: 182.2 kB / 477.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1427, allocations: 33.7 kB / 477.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.1428, allocations: 104.1 kB / 477.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1429, allocations: 23.66 kB / 477.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.1429, allocations: 9.719 kB / 477.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.143, allocations: 334.7 kB / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.867e-05/0.1431, allocations: 19.98 kB / 477.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.1432, allocations: 33.7 kB / 477.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.1433, allocations: 65.7 kB / 477.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1433, allocations: 0 / 477.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.1435, allocations: 101.4 kB / 478 MB, free: 7.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1435, allocations: 4 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1435, allocations: 4 kB / 478 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1436, allocations: 0 / 478 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.1437, allocations: 19.98 kB / 478 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1437, allocations: 0 / 478 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.1437, allocations: 15.91 kB / 478 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1438, allocations: 4 kB / 478 MB, free: 7.941 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.0001239/0.1439, allocations: 125.8 kB / 478.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.1439, allocations: 7.906 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.144, allocations: 16.72 kB / 478.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.144, allocations: 192 / 478.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.144, allocations: 7.922 kB / 478.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.144, allocations: 7.875 kB / 478.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.1445, allocations: 391.3 kB / 478.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1445, allocations: 0 / 478.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.1445, allocations: 8 kB / 478.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1446, allocations: 0 / 478.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1446, allocations: 7.922 kB / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1446, allocations: 4 kB / 478.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1446, allocations: 384 / 478.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.1448, allocations: 216.1 kB / 478.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.1449, allocations: 85.02 kB / 478.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1449, allocations: 7.938 kB / 478.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.145, allocations: 11.98 kB / 478.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.1451, allocations: 4 kB / 478.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1451, allocations: 0 / 478.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1452, allocations: 147.2 kB / 479.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1452, allocations: 4 kB / 479.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1455, allocations: 20 kB / 479.1 MB, free: 6.781 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.001113/0.1466, allocations: 474.5 kB / 479.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1468, allocations: 55.92 kB / 479.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1468, allocations: 0 / 479.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.1469, allocations: 35.92 kB / 479.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1472, allocations: 19.98 kB / 479.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.1477, allocations: 276.2 kB / 479.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1481, allocations: 0.7081 MB / 480.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1481, allocations: 15.44 kB / 480.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1481, allocations: 0 / 480.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Templates: time 0.003953/0.1521, allocations: 1.895 MB / 482.5 MB, free: 3.441 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches