Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 106.8 kB / 16.41 MB, free: 6.031 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.001033/0.001033, allocations: 187.1 kB / 17.34 MB, free: 5.633 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.465/1.465, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2224/0.2224, allocations: 43.53 MB / 314.1 MB, free: 468 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.001395/0.001395, allocations: 64.47 kB / 441.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1327, allocations: 57.8 MB / 499.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003382/0.1361, allocations: 1.704 MB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1376, allocations: 0.8117 MB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.019e-05/0.1377, allocations: 0 / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.1381, allocations: 115.6 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.1384, allocations: 83.72 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.1386, allocations: 95.62 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1388, allocations: 115.7 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.139, allocations: 23.95 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1391, allocations: 55.78 kB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1392, allocations: 71.73 kB / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1392, allocations: 8 kB / 0.491 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.37e-05/0.1393, allocations: 47.97 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.1394, allocations: 27.92 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.1395, allocations: 47.61 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.1397, allocations: 143.5 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1397, allocations: 0 / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1397, allocations: 0 / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1397, allocations: 0 / 0.4912 GB, free: 8.379 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005953/0.1403, allocations: 442.7 kB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1404, allocations: 11.89 kB / 0.4916 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.1404, allocations: 16.84 kB / 0.4917 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.1407, allocations: 223.8 kB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1407, allocations: 4.375 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.1408, allocations: 8.125 kB / 0.4919 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1409, allocations: 61.66 kB / 0.4919 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.141, allocations: 11.91 kB / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.141, allocations: 0 / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.141, allocations: 0 / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1411, allocations: 35.91 kB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.1416, allocations: 328.7 kB / 0.4923 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.1418, allocations: 74.77 kB / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/0.1418, allocations: 24.84 kB / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1419, allocations: 3.938 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.1421, allocations: 75.39 kB / 0.4925 GB, free: 6.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.1421, allocations: 0 / 0.4925 GB, free: 6.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006572/0.1427, allocations: 233 kB / 0.4927 GB, free: 6.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.1428, allocations: 51.41 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1431, allocations: 250.5 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1431, allocations: 29.7 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.1432, allocations: 120.1 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.1432, allocations: 31.55 kB / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.1433, allocations: 29.72 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1434, allocations: 322.8 kB / 0.4935 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.1435, allocations: 31.98 kB / 0.4935 GB, free: 5.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.659e-05/0.1436, allocations: 49.69 kB / 0.4936 GB, free: 5.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1437, allocations: 89.64 kB / 0.4937 GB, free: 5.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1437, allocations: 0 / 0.4937 GB, free: 5.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002207/0.1439, allocations: 133.4 kB / 0.4938 GB, free: 5.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.144, allocations: 4 kB / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.144, allocations: 0 / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.144, allocations: 0 / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1441, allocations: 23.98 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1441, allocations: 3.938 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.1442, allocations: 8 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1442, allocations: 12.02 kB / 0.4938 GB, free: 5.445 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 (13): * Single equations (assignments): 13 * 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.0001133/0.1443, allocations: 145.5 kB / 0.494 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1443, allocations: 15.81 kB / 0.494 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.1444, allocations: 21.41 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1444, allocations: 4 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1444, allocations: 3.938 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1444, allocations: 3.984 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.1449, allocations: 451.2 kB / 0.4945 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.1449, allocations: 7.922 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.145, allocations: 19.88 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.145, allocations: 0 / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.145, allocations: 4 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.145, allocations: 0 / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.145, allocations: 0 / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1453, allocations: 236.2 kB / 0.4947 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.1454, allocations: 96.86 kB / 0.4948 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.1454, allocations: 4 kB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.1455, allocations: 3.984 kB / 0.4948 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1455, allocations: 8 kB / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1456, allocations: 11.98 kB / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1457, allocations: 192.2 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1457, allocations: 0 / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000277/0.146, allocations: 28 kB / 0.495 GB, free: 4.109 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 (11): * Single equations (assignments): 9 * 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.001005/0.147, allocations: 456 kB / 0.4955 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.1472, allocations: 83.91 kB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1472, allocations: 4.062 kB / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.1473, allocations: 43.92 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1477, allocations: 39.2 kB / 0.4956 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.1482, allocations: 291.8 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1485, allocations: 0.7241 MB / 0.4966 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.446e-05/0.1486, allocations: 21.25 kB / 0.4966 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.1487, allocations: 19.42 kB / 0.4967 GB, free: 2.434 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1487, allocations: 7.875 kB / 0.4967 GB, free: 2.426 MB / 382.1 MB Notification: Performance of Templates: time 0.004475/0.1531, allocations: 1.926 MB / 0.4985 GB, free: 0.5039 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches