Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 95.34 kB / 17.35 MB, free: 6.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.00141/0.00141, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.494/1.494, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2797/0.2797, allocations: 44.26 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004327, allocations: 12 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002121/0.1291, allocations: 1.413 MB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1308, allocations: 0.8499 MB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.343e-05/0.1309, allocations: 3.938 kB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.1313, allocations: 35.89 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.1315, allocations: 47.83 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.1319, allocations: 95.02 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1321, allocations: 95.7 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1323, allocations: 8.234 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1324, allocations: 43.77 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.1325, allocations: 23.86 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.1325, allocations: 4 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1326, allocations: 43.97 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.438e-05/0.1327, allocations: 23.86 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.1328, allocations: 57.45 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.133, allocations: 111.9 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.133, allocations: 4 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.1331, allocations: 0 / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1331, allocations: 0 / 475.1 MB, free: 10.44 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.0006361/0.1337, allocations: 391.2 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1338, allocations: 11.97 kB / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.1338, allocations: 20.73 kB / 475.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.1341, allocations: 204.8 kB / 475.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.1341, allocations: 8.312 kB / 475.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1342, allocations: 12.12 kB / 475.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1343, allocations: 49.67 kB / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1344, allocations: 7.984 kB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1344, allocations: 4 kB / 475.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1344, allocations: 0 / 475.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.464e-05/0.1345, allocations: 19.98 kB / 475.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.1349, allocations: 280.9 kB / 476.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1351, allocations: 66.61 kB / 476.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.1351, allocations: 20.84 kB / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1352, allocations: 0 / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.1354, allocations: 75.3 kB / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1354, allocations: 0 / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005613/0.1359, allocations: 177.1 kB / 476.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.136, allocations: 51.41 kB / 476.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1362, allocations: 199.3 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1362, allocations: 25.7 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.1363, allocations: 108.1 kB / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.1363, allocations: 19.7 kB / 476.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.1364, allocations: 21.7 kB / 476.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1365, allocations: 326.8 kB / 477.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.548e-05/0.1366, allocations: 23.94 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.1367, allocations: 37.7 kB / 477.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1368, allocations: 57.7 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1368, allocations: 0 / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001832/0.137, allocations: 101.5 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.137, allocations: 6.5 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1371, allocations: 4.031 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1371, allocations: 4 kB / 477.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1372, allocations: 12 kB / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1372, allocations: 0 / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.1373, allocations: 19.86 kB / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1373, allocations: 0 / 477.4 MB, free: 7.883 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.000146/0.1374, allocations: 125.8 kB / 477.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.1375, allocations: 11.81 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.1375, allocations: 29.39 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1375, allocations: 0 / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.1375, allocations: 384 / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1376, allocations: 3.938 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1381, allocations: 391.5 kB / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1381, allocations: 0 / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.1381, allocations: 15.98 kB / 478 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1381, allocations: 0 / 478 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.1382, allocations: 7.969 kB / 478 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1382, allocations: 4 kB / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1382, allocations: 80 / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.1385, allocations: 208.1 kB / 478.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.1387, allocations: 89 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1387, allocations: 3.938 kB / 478.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.1388, allocations: 4 kB / 478.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.1389, allocations: 19.97 kB / 478.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.1389, allocations: 4 kB / 478.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.139, allocations: 152.9 kB / 478.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1391, allocations: 192 / 478.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1393, allocations: 24 kB / 478.5 MB, free: 6.707 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.001245/0.1406, allocations: 464.1 kB / 478.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1408, allocations: 59.89 kB / 479 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1408, allocations: 0 / 479 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.14e-05/0.1409, allocations: 31.92 kB / 479 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1412, allocations: 30.95 kB / 479.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.1417, allocations: 254.5 kB / 479.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.142, allocations: 0.7082 MB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.968e-05/0.1421, allocations: 13.19 kB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.1421, allocations: 23.42 kB / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1421, allocations: 0 / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of Templates: time 0.004694/0.1468, allocations: 1.621 MB / 481.7 MB, free: 3.656 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches