Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001648/0.001648, allocations: 183.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008884/0.0008885, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2131/0.2131, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4605/0.6014, allocations: 86.63 MB / 0.5634 GB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.6018, allocations: 74.33 kB / 0.5634 GB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01085/0.6127, allocations: 4.301 MB / 0.5676 GB, free: 9.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.6127, allocations: 0 / 0.5676 GB, free: 9.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.6127, allocations: 0 / 0.5676 GB, free: 9.754 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005049/0.6133, allocations: 377.9 kB / 0.568 GB, free: 9.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.6133, allocations: 16 kB / 0.568 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.6134, allocations: 11.91 kB / 0.568 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.6136, allocations: 197.5 kB / 0.5682 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.6137, allocations: 0 / 0.5682 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.6137, allocations: 4 kB / 0.5682 GB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.6139, allocations: 60.91 kB / 0.5683 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6139, allocations: 0 / 0.5683 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6139, allocations: 2.938 kB / 0.5683 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.6139, allocations: 0 / 0.5683 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.6141, allocations: 30.8 kB / 0.5683 GB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.6145, allocations: 268.7 kB / 0.5686 GB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.6147, allocations: 48.12 kB / 0.5686 GB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.6147, allocations: 3.984 kB / 0.5686 GB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.6148, allocations: 38.64 kB / 0.5686 GB, free: 8.594 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.6148, allocations: 0 / 0.5686 GB, free: 8.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005792/0.6154, allocations: 155.2 kB / 0.5688 GB, free: 8.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.6154, allocations: 81.11 kB / 0.5689 GB, free: 8.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.6156, allocations: 122.8 kB / 0.569 GB, free: 8.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.6156, allocations: 29.7 kB / 0.569 GB, free: 8.203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.6156, allocations: 90.38 kB / 0.5691 GB, free: 8.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.6157, allocations: 25.92 kB / 0.5691 GB, free: 8.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.6157, allocations: 0 / 0.5691 GB, free: 8.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6158, allocations: 322.1 kB / 0.5694 GB, free: 7.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.6159, allocations: 23.23 kB / 0.5695 GB, free: 7.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.616, allocations: 35.77 kB / 0.5695 GB, free: 7.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.981e-05/0.616, allocations: 26.83 kB / 0.5695 GB, free: 7.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.616, allocations: 0 / 0.5695 GB, free: 7.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001776/0.6162, allocations: 86.89 kB / 0.5696 GB, free: 7.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.6162, allocations: 6.656 kB / 0.5696 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6163, allocations: 0 / 0.5696 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.6163, allocations: 4 kB / 0.5696 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/0.6163, allocations: 19.23 kB / 0.5696 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-06/0.6164, allocations: 4 kB / 0.5696 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.6164, allocations: 4 kB / 0.5696 GB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.6164, allocations: 7.891 kB / 0.5696 GB, free: 7.574 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.891e-05/0.6165, allocations: 116.9 kB / 0.5698 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.6166, allocations: 7.906 kB / 0.5698 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.6168, allocations: 98.38 kB / 0.5699 GB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.6168, allocations: 4.062 kB / 0.5699 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.6168, allocations: 4 kB / 0.5699 GB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6168, allocations: 0 / 0.5699 GB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.6173, allocations: 349.4 kB / 0.5702 GB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6173, allocations: 0 / 0.5702 GB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.6174, allocations: 19.92 kB / 0.5702 GB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.6174, allocations: 0 / 0.5702 GB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.6174, allocations: 7.375 kB / 0.5702 GB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6174, allocations: 0 / 0.5702 GB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6174, allocations: 3.984 kB / 0.5702 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.6176, allocations: 194 kB / 0.5704 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.6177, allocations: 81.02 kB / 0.5705 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.6178, allocations: 3.75 kB / 0.5705 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.6178, allocations: 11.98 kB / 0.5705 GB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.6179, allocations: 4 kB / 0.5705 GB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.6179, allocations: 4 kB / 0.5705 GB, free: 6.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.919e-05/0.618, allocations: 110.1 kB / 0.5706 GB, free: 6.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.903e-06/0.618, allocations: 0 / 0.5706 GB, free: 6.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.6183, allocations: 23.94 kB / 0.5706 GB, free: 6.508 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001092/0.6194, allocations: 460.3 kB / 0.5711 GB, free: 6.117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.6196, allocations: 47.16 kB / 0.5711 GB, free: 6.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6196, allocations: 4 kB / 0.5711 GB, free: 6.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.6197, allocations: 27.86 kB / 0.5711 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.6199, allocations: 19.36 kB / 0.5712 GB, free: 6.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.6203, allocations: 166.8 kB / 0.5713 GB, free: 5.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.6206, allocations: 0.6887 MB / 0.572 GB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.353e-05/0.6207, allocations: 12.17 kB / 0.572 GB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.6208, allocations: 19.25 kB / 0.572 GB, free: 5.109 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6208, allocations: 3.938 kB / 0.572 GB, free: 5.105 MB / 378.7 MB Notification: Performance of Templates: time 0.004067/0.6248, allocations: 1.274 MB / 0.5733 GB, free: 3.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches