Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 101.5 kB / 17.85 MB, free: 5.664 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.001701/0.001701, allocations: 194 kB / 18.76 MB, free: 4.746 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.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.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.213/0.213, allocations: 44.18 MB / 336.8 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.72 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1297, allocations: 60.82 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003488/0.1332, allocations: 1.757 MB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1346, allocations: 0.8615 MB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.1347, allocations: 7.938 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1351, allocations: 39.89 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.1353, allocations: 47.77 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1356, allocations: 99.52 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1357, allocations: 95.69 kB / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1358, allocations: 12.22 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.1359, allocations: 35.8 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.328e-05/0.136, allocations: 31.84 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.136, allocations: 4 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-05/0.1361, allocations: 39.98 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.1362, allocations: 19.92 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.1363, allocations: 43.66 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1364, allocations: 80.12 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1364, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1364, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1364, allocations: 0 / 472.3 MB, free: 11.68 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.0005546/0.137, allocations: 418.9 kB / 472.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1371, allocations: 12.03 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.1371, allocations: 8.844 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1373, allocations: 212.8 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.1374, allocations: 384 / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1374, allocations: 8.125 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1375, allocations: 57.61 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1376, allocations: 0 / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1376, allocations: 0 / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1376, allocations: 4 kB / 473.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.749e-05/0.1377, allocations: 19.98 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.1381, allocations: 288.8 kB / 473.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1382, allocations: 62.61 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.1383, allocations: 24.84 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1383, allocations: 4 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.1385, allocations: 67.39 kB / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1386, allocations: 0 / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005759/0.1391, allocations: 177.1 kB / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.1392, allocations: 55.41 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.1394, allocations: 199.3 kB / 473.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1394, allocations: 29.7 kB / 474 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.1395, allocations: 104.1 kB / 474.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1395, allocations: 19.72 kB / 474.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.1396, allocations: 25.7 kB / 474.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1397, allocations: 326.8 kB / 474.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.1397, allocations: 20 kB / 474.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.1398, allocations: 41.58 kB / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.1399, allocations: 65.7 kB / 474.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1399, allocations: 0 / 474.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.1401, allocations: 93.53 kB / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1402, allocations: 10.12 kB / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.1402, allocations: 4 kB / 474.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1402, allocations: 3.984 kB / 474.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.1403, allocations: 12 kB / 474.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1403, allocations: 0 / 474.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1403, allocations: 15.97 kB / 474.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1404, allocations: 4 kB / 474.7 MB, free: 9.09 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 9.346e-05/0.1405, allocations: 129 kB / 474.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.1405, allocations: 15.81 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.1405, allocations: 21.39 kB / 474.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1405, allocations: 3.984 kB / 474.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1405, allocations: 0 / 474.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1406, allocations: 3.938 kB / 474.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.141, allocations: 395.3 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.141, allocations: 0 / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.141, allocations: 8 kB / 475.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.141, allocations: 3.984 kB / 475.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1411, allocations: 7.938 kB / 475.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1411, allocations: 0 / 475.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1411, allocations: 384 / 475.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1413, allocations: 216.4 kB / 475.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.1413, allocations: 85.02 kB / 475.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1414, allocations: 7.938 kB / 475.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.1415, allocations: 7.984 kB / 475.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.1415, allocations: 4 kB / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1415, allocations: 8 kB / 475.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1416, allocations: 148.9 kB / 475.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1417, allocations: 4 kB / 475.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1419, allocations: 27.98 kB / 475.8 MB, free: 7.914 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.001071/0.143, allocations: 469.2 kB / 476.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1432, allocations: 55.92 kB / 476.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1432, allocations: 0 / 476.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/0.1433, allocations: 35.92 kB / 476.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1436, allocations: 29.8 kB / 476.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.1441, allocations: 274.8 kB / 476.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.1444, allocations: 0.712 MB / 477.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.1444, allocations: 19.44 kB / 477.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1444, allocations: 0 / 477.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Templates: time 0.003562/0.148, allocations: 1.912 MB / 479.3 MB, free: 4.547 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches