Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 109.7 kB / 17.33 MB, free: 5.996 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.001563/0.001563, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.467/1.467, allocations: 222.9 MB / 241.9 MB, free: 13.7 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.2047/0.2047, allocations: 44.18 MB / 336.2 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.3 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1254, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003255/0.1287, allocations: 1.765 MB / 470.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1303, allocations: 0.8653 MB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.1304, allocations: 0 / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.1307, allocations: 27.91 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.131, allocations: 55.77 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.1314, allocations: 94.56 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1316, allocations: 95.7 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1318, allocations: 8.234 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1319, allocations: 43.78 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.439e-05/0.132, allocations: 35.78 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.132, allocations: 4 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1322, allocations: 43.98 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.1322, allocations: 19.91 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.1323, allocations: 31.81 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.1326, allocations: 111.9 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1326, allocations: 0 / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1326, allocations: 0 / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1326, allocations: 4 kB / 471.9 MB, free: 11.49 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.000598/0.1332, allocations: 406.9 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.1332, allocations: 12.03 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.1333, allocations: 12.83 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.1336, allocations: 196.2 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1336, allocations: 4.375 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.1336, allocations: 4.125 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1338, allocations: 53.67 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1338, allocations: 4 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1338, allocations: 7.984 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1338, allocations: 0 / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.679e-05/0.1339, allocations: 19.92 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.1343, allocations: 288.8 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1345, allocations: 58.67 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.1346, allocations: 24.84 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1346, allocations: 0 / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.1348, allocations: 67.33 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.1348, allocations: 0 / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005954/0.1354, allocations: 169.5 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.1355, allocations: 59.41 kB / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1357, allocations: 171.5 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1357, allocations: 29.7 kB / 473.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.1358, allocations: 100.1 kB / 473.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.1358, allocations: 23.66 kB / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.1359, allocations: 29.7 kB / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.136, allocations: 330.7 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/0.1361, allocations: 20.06 kB / 474 MB, free: 9.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-05/0.1362, allocations: 41.7 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1363, allocations: 57.64 kB / 474.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1363, allocations: 0 / 474.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00022/0.1366, allocations: 105.5 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1366, allocations: 7.984 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1366, allocations: 3.938 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1366, allocations: 7.938 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.1367, allocations: 16.03 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1367, allocations: 0 / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.1368, allocations: 7.938 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1368, allocations: 3.984 kB / 474.2 MB, free: 8.965 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.949e-05/0.1369, allocations: 124.7 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1369, allocations: 15.89 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.137, allocations: 16.7 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.137, allocations: 0 / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.137, allocations: 4 kB / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.137, allocations: 3.938 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.1375, allocations: 387.3 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1375, allocations: 4 kB / 474.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.1376, allocations: 11.94 kB / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1376, allocations: 0 / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1376, allocations: 3.938 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1376, allocations: 3.984 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1376, allocations: 8.031 kB / 474.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1378, allocations: 200.4 kB / 475 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.1379, allocations: 81.02 kB / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1379, allocations: 7.938 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.138, allocations: 0 / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1381, allocations: 11.98 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1381, allocations: 8 kB / 475.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1382, allocations: 131.1 kB / 475.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.1382, allocations: 0 / 475.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1385, allocations: 27.92 kB / 475.2 MB, free: 7.828 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.001106/0.1396, allocations: 474.4 kB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1398, allocations: 63.91 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1398, allocations: 0 / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.992e-05/0.1399, allocations: 24 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1403, allocations: 31.84 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.1407, allocations: 242.8 kB / 476.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1411, allocations: 0.7002 MB / 476.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.1411, allocations: 21.17 kB / 476.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.1412, allocations: 15.44 kB / 476.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1412, allocations: 0 / 476.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of Templates: time 0.004627/0.1458, allocations: 1.673 MB / 478.5 MB, free: 4.734 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches