Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 114.3 kB / 17.08 MB, free: 5.816 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.001197/0.001197, allocations: 193.3 kB / 18.01 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2054/0.2054, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 68.28 kB / 442.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1244, allocations: 57.8 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004498/0.129, allocations: 1.682 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1305, allocations: 0.8039 MB / 0.491 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1306, allocations: 3.938 kB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.131, allocations: 39.83 kB / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.1313, allocations: 63.69 kB / 0.4911 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.1317, allocations: 83.78 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1319, allocations: 103.7 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.132, allocations: 8.219 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1322, allocations: 43.78 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1323, allocations: 31.84 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.1324, allocations: 4 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.1326, allocations: 39.98 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1327, allocations: 31.86 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.091e-05/0.1328, allocations: 43.72 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.1332, allocations: 111.7 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1332, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1332, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1332, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.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.0009661/0.1342, allocations: 414.9 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.1343, allocations: 15.89 kB / 0.492 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.99e-05/0.1344, allocations: 8.844 kB / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.1348, allocations: 216.6 kB / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.1349, allocations: 8.375 kB / 0.4923 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.1349, allocations: 8.125 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1351, allocations: 53.67 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1351, allocations: 0 / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1352, allocations: 0 / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1352, allocations: 0 / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.1353, allocations: 19.98 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.1358, allocations: 288.9 kB / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.136, allocations: 62.61 kB / 0.4927 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.1361, allocations: 24.84 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1361, allocations: 0 / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.1363, allocations: 67.38 kB / 0.4928 GB, free: 7.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1363, allocations: 4 kB / 0.4928 GB, free: 7.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005852/0.1369, allocations: 177.1 kB / 0.4929 GB, free: 7.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1369, allocations: 51.41 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1371, allocations: 195.3 kB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1372, allocations: 25.7 kB / 0.4932 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.1372, allocations: 112 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.1373, allocations: 23.69 kB / 0.4933 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.1373, allocations: 21.66 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1374, allocations: 338.7 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.1375, allocations: 20 kB / 0.4937 GB, free: 6.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.1376, allocations: 33.7 kB / 0.4937 GB, free: 6.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1377, allocations: 61.77 kB / 0.4938 GB, free: 6.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1377, allocations: 0 / 0.4938 GB, free: 6.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.1379, allocations: 109.5 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1379, allocations: 8 kB / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1379, allocations: 0 / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.138, allocations: 0 / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.1381, allocations: 15.98 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1381, allocations: 7.938 kB / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.1381, allocations: 3.938 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1382, allocations: 8 kB / 0.4939 GB, free: 6.027 MB / 382.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.0001026/0.1383, allocations: 129.4 kB / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1383, allocations: 15.91 kB / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.1384, allocations: 17.39 kB / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1384, allocations: 0 / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1384, allocations: 4 kB / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1384, allocations: 3.938 kB / 0.4941 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.1388, allocations: 391.2 kB / 0.4945 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1388, allocations: 4 kB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.1389, allocations: 4.375 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1389, allocations: 12.02 kB / 0.4945 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1389, allocations: 7.938 kB / 0.4945 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1389, allocations: 4 kB / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1389, allocations: 4 kB / 0.4945 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1391, allocations: 196.2 kB / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.1392, allocations: 84.92 kB / 0.4948 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.1392, allocations: 11.94 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.1393, allocations: 11.97 kB / 0.4948 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.1394, allocations: 4 kB / 0.4948 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1394, allocations: 4 kB / 0.4948 GB, free: 5.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1395, allocations: 156.9 kB / 0.4949 GB, free: 4.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1395, allocations: 3.938 kB / 0.4949 GB, free: 4.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1398, allocations: 28.17 kB / 0.495 GB, free: 4.844 MB / 382.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.00103/0.1408, allocations: 459.2 kB / 0.4954 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.141, allocations: 51.92 kB / 0.4955 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.141, allocations: 0 / 0.4955 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.1411, allocations: 36.08 kB / 0.4955 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1415, allocations: 43.53 kB / 0.4955 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.142, allocations: 260.8 kB / 0.4958 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1423, allocations: 0.7041 MB / 0.4965 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.1423, allocations: 19.44 kB / 0.4965 GB, free: 3.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1423, allocations: 0 / 0.4965 GB, free: 3.27 MB / 382.1 MB Notification: Performance of Templates: time 0.004049/0.1464, allocations: 1.925 MB / 0.4984 GB, free: 1.348 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches