Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 98 kB / 17 MB, free: 6.398 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.001164/0.001164, allocations: 180 kB / 17.89 MB, free: 5.945 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.445/1.445, allocations: 223.3 MB / 241.9 MB, free: 14.49 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.2356/0.2356, allocations: 44.25 MB / 337.3 MB, free: 2.555 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003287, allocations: 8.844 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002517/0.1349, allocations: 1.382 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1363, allocations: 0.7997 MB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.779e-05/0.1364, allocations: 4 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1367, allocations: 39.89 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.1369, allocations: 47.77 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1372, allocations: 90.53 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1373, allocations: 87.67 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.1374, allocations: 12.23 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.027e-05/0.1375, allocations: 39.78 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.1376, allocations: 27.84 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1376, allocations: 8 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.765e-05/0.1377, allocations: 28 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.1378, allocations: 11.92 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.1378, allocations: 41.62 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.138, allocations: 88.09 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.138, allocations: 0 / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.138, allocations: 0 / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.138, allocations: 0 / 474.3 MB, free: 10.96 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.0005372/0.1385, allocations: 394.9 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1386, allocations: 16.03 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.1386, allocations: 7.906 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1389, allocations: 202.8 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1389, allocations: 8 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1389, allocations: 0 / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1391, allocations: 61.56 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1391, allocations: 4 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1391, allocations: 0 / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1391, allocations: 3.938 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.95e-05/0.1392, allocations: 19.98 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.1396, allocations: 288.9 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1398, allocations: 62.61 kB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.1398, allocations: 24.84 kB / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1399, allocations: 4 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.14, allocations: 63.39 kB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.14, allocations: 0 / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000537/0.1406, allocations: 165.5 kB / 475.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1406, allocations: 55.39 kB / 475.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.1408, allocations: 186.2 kB / 475.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1408, allocations: 25.7 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.1409, allocations: 104.1 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.141, allocations: 27.64 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.141, allocations: 4 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1411, allocations: 326.8 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-05/0.1412, allocations: 23.94 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.298e-05/0.1413, allocations: 37.64 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.1413, allocations: 23.98 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1413, allocations: 4 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/0.1415, allocations: 101.5 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1415, allocations: 7.938 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1416, allocations: 4 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1416, allocations: 0 / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.1417, allocations: 23.98 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1417, allocations: 0 / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.1417, allocations: 0 / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.1417, allocations: 4 kB / 476.5 MB, free: 8.496 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.1419, allocations: 134.3 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1419, allocations: 11.91 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.1419, allocations: 12.72 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1419, allocations: 0 / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.142, allocations: 0 / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.142, allocations: 3.984 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.1424, allocations: 391.3 kB / 477.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1424, allocations: 4.031 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.1425, allocations: 16.12 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1425, allocations: 0 / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1425, allocations: 7.938 kB / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1425, allocations: 0 / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1425, allocations: 0 / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1428, allocations: 204.2 kB / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.1428, allocations: 93 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.1429, allocations: 0 / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1429, allocations: 4 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.143, allocations: 11.98 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.143, allocations: 7.984 kB / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1431, allocations: 147.1 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1431, allocations: 0 / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1434, allocations: 24 kB / 477.6 MB, free: 7.336 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 (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.00111/0.1445, allocations: 472.3 kB / 478.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.1447, allocations: 59.91 kB / 478.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1447, allocations: 64 / 478.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.1448, allocations: 31.98 kB / 478.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1452, allocations: 27.94 kB / 478.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.1457, allocations: 238.5 kB / 478.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.146, allocations: 0.7158 MB / 479.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.755e-05/0.1461, allocations: 9.203 kB / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.1461, allocations: 23.42 kB / 479.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1461, allocations: 0 / 479.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of Templates: time 0.004678/0.1508, allocations: 1.583 MB / 480.7 MB, free: 4.324 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches