Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 108.9 kB / 16.41 MB, free: 6.488 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.001629/0.001629, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.546/1.546, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2108/0.2108, allocations: 43.52 MB / 314.1 MB, free: 448 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.001357/0.001357, allocations: 74.25 kB / 441.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1232, allocations: 57.79 MB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003271/0.1265, allocations: 1.837 MB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1278, allocations: 0.9052 MB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.1279, allocations: 4 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.1283, allocations: 223.4 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.1287, allocations: 167.4 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.1291, allocations: 147.6 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.1294, allocations: 231.3 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1295, allocations: 25.53 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1296, allocations: 111.6 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1299, allocations: 147.5 kB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.1299, allocations: 8 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.13, allocations: 47.97 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.1301, allocations: 51.84 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.748e-05/0.1302, allocations: 87.28 kB / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.1305, allocations: 207.3 kB / 0.492 GB, free: 7.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1305, allocations: 4 kB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1305, allocations: 0 / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1305, allocations: 0 / 0.492 GB, free: 7.5 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006832/0.1312, allocations: 0.5369 MB / 0.4926 GB, free: 6.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1312, allocations: 11.89 kB / 0.4926 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.1313, allocations: 24.66 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.1316, allocations: 288 kB / 0.4929 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1317, allocations: 8.375 kB / 0.4929 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.1317, allocations: 12.12 kB / 0.4929 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1319, allocations: 91.36 kB / 0.493 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1319, allocations: 4 kB / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.132, allocations: 0 / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.132, allocations: 0 / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1321, allocations: 43.91 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.1326, allocations: 445 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1329, allocations: 113.3 kB / 0.4936 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.374e-05/0.133, allocations: 49.69 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.133, allocations: 4 kB / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.1332, allocations: 113 kB / 0.4937 GB, free: 5.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.765e-06/0.1333, allocations: 3.984 kB / 0.4937 GB, free: 5.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008305/0.1341, allocations: 379.8 kB / 0.4941 GB, free: 5.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1341, allocations: 85.05 kB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.1345, allocations: 424.5 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1346, allocations: 33.69 kB / 0.4946 GB, free: 4.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.761e-05/0.1347, allocations: 156.2 kB / 0.4947 GB, free: 4.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.1347, allocations: 51.33 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.1348, allocations: 33.66 kB / 0.4948 GB, free: 4.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.135, allocations: 350.8 kB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-05/0.1351, allocations: 39.98 kB / 0.4952 GB, free: 4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1352, allocations: 75.02 kB / 0.4953 GB, free: 3.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.1354, allocations: 111.4 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1354, allocations: 8 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003463/0.1358, allocations: 181.2 kB / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1358, allocations: 7.125 kB / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1358, allocations: 0 / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1358, allocations: 4 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.136, allocations: 27.98 kB / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.136, allocations: 7.938 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.495e-05/0.1361, allocations: 11.98 kB / 0.4956 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1361, allocations: 8.062 kB / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001391/0.1363, allocations: 169.7 kB / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.1363, allocations: 27.62 kB / 0.4958 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.1364, allocations: 34.62 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1364, allocations: 0 / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1364, allocations: 7.938 kB / 0.4958 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1364, allocations: 0 / 0.4958 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006792/0.1371, allocations: 0.6283 MB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1371, allocations: 4.688 kB / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.1372, allocations: 19.98 kB / 0.4965 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1372, allocations: 0 / 0.4965 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1372, allocations: 8 kB / 0.4965 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1372, allocations: 0 / 0.4965 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1372, allocations: 11.94 kB / 0.4965 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.1376, allocations: 368.1 kB / 0.4969 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.1377, allocations: 96.83 kB / 0.4969 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.1377, allocations: 7.984 kB / 0.497 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1379, allocations: 4 kB / 0.497 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.1379, allocations: 15.98 kB / 0.497 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1379, allocations: 15.98 kB / 0.497 GB, free: 2.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000299/0.1382, allocations: 319 kB / 0.4973 GB, free: 1.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1383, allocations: 0 / 0.4973 GB, free: 1.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1386, allocations: 36 kB / 0.4973 GB, free: 1.676 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001001/0.1396, allocations: 475.1 kB / 0.4978 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.1399, allocations: 119.8 kB / 0.4979 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1399, allocations: 3.938 kB / 0.4979 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.14, allocations: 55.92 kB / 0.498 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.1405, allocations: 65.03 kB / 0.498 GB, free: 1.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007774/0.1413, allocations: 498.1 kB / 0.4985 GB, free: 496 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.1417, allocations: 0.7632 MB / 0.4992 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.128e-05/0.1418, allocations: 34.55 kB / 0.4993 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.1419, allocations: 27.42 kB / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1419, allocations: 0 / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of Templates: time 0.005943/0.1478, allocations: 2.744 MB / 0.502 GB, free: 12.9 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches