Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 104.7 kB / 17.63 MB, free: 5.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.001227/0.001227, allocations: 192 kB / 18.56 MB, free: 4.434 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.356/1.356, allocations: 222.9 MB / 242.3 MB, free: 15.14 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.2293/0.2293, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 68.42 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003187/0.1277, allocations: 1.649 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.129, allocations: 0.8535 MB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.1291, allocations: 4 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1294, allocations: 55.8 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1296, allocations: 55.7 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1299, allocations: 103.7 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.1301, allocations: 87.7 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.1301, allocations: 19.91 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.1302, allocations: 39.86 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.489e-05/0.1303, allocations: 31.73 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1303, allocations: 4 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.211e-05/0.1304, allocations: 35.97 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.1304, allocations: 23.92 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.1305, allocations: 35.75 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1307, allocations: 115.8 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1307, allocations: 0 / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1307, allocations: 0 / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1307, allocations: 0 / 472.4 MB, free: 11.25 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005975/0.1313, allocations: 438.7 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1314, allocations: 8.031 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.1314, allocations: 20.73 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1316, allocations: 211.9 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1317, allocations: 384 / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.1317, allocations: 8.125 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1318, allocations: 53.67 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1318, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1318, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1318, allocations: 4 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.1319, allocations: 23.92 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.1321, allocations: 185.7 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1323, allocations: 50.62 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.1323, allocations: 24.78 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1323, allocations: 0 / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.1325, allocations: 67.39 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.895e-06/0.1325, allocations: 0 / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002688/0.1328, allocations: 97.42 kB / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.1329, allocations: 55.41 kB / 473.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.1331, allocations: 262.9 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1332, allocations: 29.7 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.1332, allocations: 116.1 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.1333, allocations: 7.891 kB / 474 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.1333, allocations: 17.72 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1335, allocations: 330.8 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.1335, allocations: 15.98 kB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.006e-05/0.1336, allocations: 21.72 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.19e-05/0.1337, allocations: 49.64 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1337, allocations: 4 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001511/0.1338, allocations: 89.31 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1339, allocations: 8 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1339, allocations: 4.25 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1339, allocations: 3.984 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.134, allocations: 12 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.134, allocations: 0 / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.134, allocations: 11.94 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1341, allocations: 8.031 kB / 474.6 MB, free: 8.812 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 (7): * Single equations (assignments): 7 * 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.0001081/0.1342, allocations: 132.4 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1342, allocations: 15.81 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.1343, allocations: 20.98 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1343, allocations: 0 / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1343, allocations: 0 / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1343, allocations: 0 / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.1344, allocations: 201.5 kB / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1344, allocations: 3.984 kB / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.1345, allocations: 7.938 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1345, allocations: 4 kB / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1345, allocations: 4 kB / 474.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1345, allocations: 3.984 kB / 474.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1345, allocations: 0 / 474.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.1347, allocations: 108.9 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.1347, allocations: 92.91 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1348, allocations: 0 / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.74e-05/0.1348, allocations: 8 kB / 475.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.1348, allocations: 4 kB / 475.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1349, allocations: 7.984 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.135, allocations: 196.2 kB / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1351, allocations: 0 / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.1353, allocations: 16 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009008/0.1362, allocations: 416.1 kB / 475.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1363, allocations: 47.97 kB / 475.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1364, allocations: 0 / 475.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.096e-05/0.1364, allocations: 19.94 kB / 475.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.1367, allocations: 35.19 kB / 475.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.1372, allocations: 262.7 kB / 476.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1375, allocations: 0.708 MB / 476.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.897e-05/0.1375, allocations: 12.55 kB / 476.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.1376, allocations: 15.44 kB / 476.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1376, allocations: 0 / 476.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of Templates: time 0.004235/0.1418, allocations: 1.511 MB / 478.4 MB, free: 5.016 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches