Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.00158, allocations: 105.1 kB / 16.41 MB, free: 6.402 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.001451/0.001451, allocations: 187 kB / 17.34 MB, free: 5.699 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.607/1.607, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2169/0.2169, allocations: 43.53 MB / 314.1 MB, free: 444 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.001594/0.001594, allocations: 73.45 kB / 441.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1277, allocations: 57.8 MB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003546/0.1313, allocations: 1.693 MB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1327, allocations: 0.8 MB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.356e-05/0.1329, allocations: 0 / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.1333, allocations: 111.6 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.1336, allocations: 91.69 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.134, allocations: 83.77 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.1342, allocations: 123.7 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1344, allocations: 8.219 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1345, allocations: 59.75 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1347, allocations: 67.75 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.1348, allocations: 12 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1349, allocations: 39.98 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.135, allocations: 31.86 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.135, allocations: 51.66 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1353, allocations: 131.6 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1353, allocations: 0 / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1353, allocations: 0 / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1353, allocations: 0 / 0.4912 GB, free: 8.402 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006274/0.136, allocations: 438.6 kB / 0.4916 GB, free: 7.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.136, allocations: 15.89 kB / 0.4916 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.1361, allocations: 12.84 kB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.1364, allocations: 227.8 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1365, allocations: 384 / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.1365, allocations: 8.125 kB / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1367, allocations: 61.67 kB / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1367, allocations: 0 / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1367, allocations: 3.938 kB / 0.4919 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1367, allocations: 0 / 0.4919 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.753e-05/0.1368, allocations: 35.91 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.1372, allocations: 308.7 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.1375, allocations: 70.66 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.488e-05/0.1375, allocations: 28.84 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1376, allocations: 80 / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.1377, allocations: 83.3 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1377, allocations: 0 / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006209/0.1384, allocations: 201.1 kB / 0.4926 GB, free: 6.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.1384, allocations: 55.41 kB / 0.4927 GB, free: 6.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1386, allocations: 242.6 kB / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1387, allocations: 29.7 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.1387, allocations: 112.1 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.1388, allocations: 35.55 kB / 0.4931 GB, free: 6.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1388, allocations: 17.81 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1389, allocations: 342.7 kB / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.139, allocations: 20 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.1391, allocations: 45.69 kB / 0.4935 GB, free: 5.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1392, allocations: 73.64 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1392, allocations: 0 / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002029/0.1394, allocations: 117.4 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1395, allocations: 8 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1395, allocations: 0 / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1395, allocations: 0 / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.1396, allocations: 23.92 kB / 0.4937 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1396, allocations: 0 / 0.4937 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.1397, allocations: 11.94 kB / 0.4937 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1397, allocations: 4.031 kB / 0.4937 GB, free: 5.578 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 (11): * Single equations (assignments): 11 * 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.000106/0.1398, allocations: 141.7 kB / 0.4938 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.1398, allocations: 11.91 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.81e-05/0.1399, allocations: 25.39 kB / 0.4939 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1399, allocations: 0 / 0.4939 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1399, allocations: 0 / 0.4939 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1399, allocations: 3.938 kB / 0.4939 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.1404, allocations: 423.2 kB / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1404, allocations: 0 / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.1404, allocations: 12 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1404, allocations: 0 / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1405, allocations: 7.938 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1405, allocations: 3.938 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1405, allocations: 0 / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1407, allocations: 224.2 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.1408, allocations: 89.02 kB / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1408, allocations: 3.938 kB / 0.4946 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.1409, allocations: 4 kB / 0.4946 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1409, allocations: 7.984 kB / 0.4946 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1409, allocations: 8 kB / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1411, allocations: 188.2 kB / 0.4948 GB, free: 4.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1411, allocations: 0 / 0.4948 GB, free: 4.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1414, allocations: 23.98 kB / 0.4948 GB, free: 4.316 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 (9): * Single equations (assignments): 7 * 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.001122/0.1425, allocations: 466.5 kB / 0.4953 GB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1427, allocations: 67.91 kB / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1427, allocations: 4.062 kB / 0.4953 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/0.1428, allocations: 39.91 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1432, allocations: 39.92 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.1438, allocations: 283.9 kB / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1441, allocations: 0.7119 MB / 0.4964 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.021e-05/0.1441, allocations: 20.7 kB / 0.4964 GB, free: 2.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.1442, allocations: 27.42 kB / 0.4964 GB, free: 2.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1442, allocations: 0 / 0.4964 GB, free: 2.66 MB / 382.1 MB Notification: Performance of Templates: time 0.004658/0.1489, allocations: 1.81 MB / 0.4982 GB, free: 0.8555 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches