Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 98.62 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3089/0.3089, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.351e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 58.86 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.5947, allocations: 87.58 MB / 0.5583 GB, free: 0 / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.5951, allocations: 75.62 kB / 0.5584 GB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02241/0.6175, allocations: 5.263 MB / 0.5635 GB, free: 11.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6176, allocations: 0 / 0.5635 GB, free: 11.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.6176, allocations: 0 / 0.5635 GB, free: 11.53 MB / 378.7 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.0005227/0.6181, allocations: 396.7 kB / 0.5639 GB, free: 11.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.6182, allocations: 8.031 kB / 0.5639 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.6182, allocations: 7.906 kB / 0.5639 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.6186, allocations: 219.8 kB / 0.5641 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.6187, allocations: 8 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.6187, allocations: 0 / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.6189, allocations: 52.81 kB / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.6189, allocations: 3.984 kB / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.6189, allocations: 7.562 kB / 0.5642 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.6189, allocations: 0 / 0.5642 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.879e-05/0.619, allocations: 15.44 kB / 0.5642 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.6195, allocations: 289.1 kB / 0.5645 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.6196, allocations: 60.69 kB / 0.5646 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.852e-05/0.6197, allocations: 20.05 kB / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.6197, allocations: 0 / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.6199, allocations: 69.83 kB / 0.5647 GB, free: 10.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 7.283e-06/0.6199, allocations: 0 / 0.5647 GB, free: 10.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000567/0.6205, allocations: 165.4 kB / 0.5648 GB, free: 10.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.6206, allocations: 55.16 kB / 0.5649 GB, free: 10.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.6208, allocations: 174.8 kB / 0.565 GB, free: 9.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.6209, allocations: 25.7 kB / 0.5651 GB, free: 9.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.6209, allocations: 161.8 kB / 0.5652 GB, free: 9.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.621, allocations: 23.58 kB / 0.5652 GB, free: 9.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-06/0.621, allocations: 4 kB / 0.5652 GB, free: 9.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6211, allocations: 318.4 kB / 0.5655 GB, free: 9.426 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.107e-05/0.6212, allocations: 19.25 kB / 0.5656 GB, free: 9.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/0.6213, allocations: 35.41 kB / 0.5656 GB, free: 9.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.092e-05/0.6214, allocations: 22.55 kB / 0.5656 GB, free: 9.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6214, allocations: 0 / 0.5656 GB, free: 9.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002104/0.6216, allocations: 91.28 kB / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.6216, allocations: 4 kB / 0.5657 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6217, allocations: 7.938 kB / 0.5657 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.6217, allocations: 0 / 0.5657 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.6218, allocations: 23.95 kB / 0.5657 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.6219, allocations: 3.953 kB / 0.5657 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.623e-05/0.622, allocations: 4 kB / 0.5657 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.622, allocations: 4 kB / 0.5657 GB, free: 9.238 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.401e-05/0.6221, allocations: 112.1 kB / 0.5659 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.6221, allocations: 11.91 kB / 0.5659 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.6224, allocations: 118.5 kB / 0.566 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6225, allocations: 3.984 kB / 0.566 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6225, allocations: 4 kB / 0.566 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6225, allocations: 3.953 kB / 0.566 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.6231, allocations: 406.3 kB / 0.5664 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6231, allocations: 0 / 0.5664 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.6232, allocations: 8 kB / 0.5664 GB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.6232, allocations: 4 kB / 0.5664 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.6232, allocations: 6.625 kB / 0.5664 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.6232, allocations: 3.953 kB / 0.5664 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.6233, allocations: 8.031 kB / 0.5664 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.6235, allocations: 209.9 kB / 0.5666 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.6236, allocations: 93 kB / 0.5667 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.6237, allocations: 7.266 kB / 0.5667 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.6238, allocations: 11.92 kB / 0.5667 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.6239, allocations: 8 kB / 0.5667 GB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.6239, allocations: 7.375 kB / 0.5667 GB, free: 8.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.6241, allocations: 140.9 kB / 0.5669 GB, free: 8.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6241, allocations: 0 / 0.5669 GB, free: 8.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.6244, allocations: 37.91 kB / 0.5669 GB, free: 8.059 MB / 378.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.6256, allocations: 430 kB / 0.5673 GB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.6259, allocations: 55.75 kB / 0.5674 GB, free: 7.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6259, allocations: 0 / 0.5674 GB, free: 7.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.626, allocations: 33.44 kB / 0.5674 GB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.6263, allocations: 28.48 kB / 0.5674 GB, free: 7.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.6268, allocations: 192.9 kB / 0.5676 GB, free: 7.395 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.6272, allocations: 0.7117 MB / 0.5683 GB, free: 6.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.6272, allocations: 19.42 kB / 0.5683 GB, free: 6.641 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.6272, allocations: 0 / 0.5683 GB, free: 6.641 MB / 378.7 MB Notification: Performance of Templates: time 0.005093/0.6323, allocations: 1.935 MB / 0.5702 GB, free: 4.715 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches