Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002297/0.002297, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 90.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3271/0.3271, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.361e-05, allocations: 4 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4097, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.5724, allocations: 85.63 MB / 0.5495 GB, free: 13.68 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5728, allocations: 79.45 kB / 0.5496 GB, free: 13.61 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01754/0.5903, allocations: 4.106 MB / 0.5536 GB, free: 9.504 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5904, allocations: 0 / 0.5536 GB, free: 9.504 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.5904, allocations: 7.938 kB / 0.5536 GB, free: 9.496 MB / 395.1 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.0005541/0.591, allocations: 390.3 kB / 0.554 GB, free: 9.07 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.591, allocations: 11.97 kB / 0.554 GB, free: 9.059 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.5911, allocations: 15.81 kB / 0.554 GB, free: 9.043 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.5915, allocations: 214.6 kB / 0.5542 GB, free: 8.793 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.5915, allocations: 4 kB / 0.5542 GB, free: 8.789 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.5915, allocations: 4 kB / 0.5542 GB, free: 8.785 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.262e-05/0.5916, allocations: 12 kB / 0.5542 GB, free: 8.773 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.5918, allocations: 45.67 kB / 0.5543 GB, free: 8.723 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5918, allocations: 0 / 0.5543 GB, free: 8.723 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5918, allocations: 0 / 0.5543 GB, free: 8.723 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5918, allocations: 3.938 kB / 0.5543 GB, free: 8.719 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.5923, allocations: 281.3 kB / 0.5545 GB, free: 8.406 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.5925, allocations: 34.58 kB / 0.5546 GB, free: 8.363 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.5926, allocations: 20.94 kB / 0.5546 GB, free: 8.34 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.5926, allocations: 0 / 0.5546 GB, free: 8.34 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.5927, allocations: 30.56 kB / 0.5546 GB, free: 8.301 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.5927, allocations: 4 kB / 0.5546 GB, free: 8.297 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005255/0.5932, allocations: 113.1 kB / 0.5547 GB, free: 8.18 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.5933, allocations: 59.36 kB / 0.5548 GB, free: 8.109 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.5937, allocations: 225.7 kB / 0.555 GB, free: 7.883 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.5937, allocations: 29.64 kB / 0.555 GB, free: 7.848 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.902e-05/0.5938, allocations: 170.5 kB / 0.5552 GB, free: 7.68 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.5939, allocations: 19.66 kB / 0.5552 GB, free: 7.66 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.5939, allocations: 0 / 0.5552 GB, free: 7.66 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.594, allocations: 314.8 kB / 0.5555 GB, free: 7.344 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.5941, allocations: 4 kB / 0.5555 GB, free: 7.34 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.5941, allocations: 16 kB / 0.5555 GB, free: 7.324 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.5942, allocations: 12.14 kB / 0.5556 GB, free: 7.312 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5942, allocations: 0 / 0.5556 GB, free: 7.312 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001432/0.5943, allocations: 53.64 kB / 0.5556 GB, free: 7.254 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5944, allocations: 4 kB / 0.5556 GB, free: 7.25 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5944, allocations: 4 kB / 0.5556 GB, free: 7.246 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5944, allocations: 0 / 0.5556 GB, free: 7.246 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.5946, allocations: 15.98 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.5946, allocations: 0 / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.5947, allocations: 15.94 kB / 0.5556 GB, free: 7.215 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.5947, allocations: 0 / 0.5556 GB, free: 7.215 MB / 395.1 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 () * 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 0.0001072/0.5948, allocations: 105 kB / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.5949, allocations: 7.906 kB / 0.5558 GB, free: 7.098 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.5951, allocations: 83.14 kB / 0.5558 GB, free: 7.012 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5951, allocations: 0 / 0.5558 GB, free: 7.012 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5952, allocations: 0 / 0.5558 GB, free: 7.012 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5952, allocations: 4 kB / 0.5558 GB, free: 7.008 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000556/0.5957, allocations: 339.1 kB / 0.5562 GB, free: 6.633 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5958, allocations: 0 / 0.5562 GB, free: 6.633 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.5959, allocations: 16.38 kB / 0.5562 GB, free: 6.617 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.5959, allocations: 3.984 kB / 0.5562 GB, free: 6.613 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.5959, allocations: 0 / 0.5562 GB, free: 6.613 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.5959, allocations: 4 kB / 0.5562 GB, free: 6.609 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.596, allocations: 7.938 kB / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.5962, allocations: 163.4 kB / 0.5563 GB, free: 6.426 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.5963, allocations: 100.9 kB / 0.5564 GB, free: 6.309 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.5964, allocations: 3.938 kB / 0.5564 GB, free: 6.305 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5965, allocations: 7.984 kB / 0.5565 GB, free: 6.297 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.5966, allocations: 4 kB / 0.5565 GB, free: 6.293 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.5966, allocations: 3.938 kB / 0.5565 GB, free: 6.289 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.5969, allocations: 196.3 kB / 0.5566 GB, free: 6.098 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5969, allocations: 0 / 0.5566 GB, free: 6.098 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.5973, allocations: 31.95 kB / 0.5567 GB, free: 6.066 MB / 395.1 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 () * 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.00104/0.5983, allocations: 330 kB / 0.557 GB, free: 5.781 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.5985, allocations: 27.94 kB / 0.557 GB, free: 5.754 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5986, allocations: 0 / 0.557 GB, free: 5.754 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.692e-05/0.5986, allocations: 20 kB / 0.557 GB, free: 5.734 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.599, allocations: 19.97 kB / 0.5571 GB, free: 5.711 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.5997, allocations: 226.6 kB / 0.5573 GB, free: 5.461 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.6001, allocations: 0.7197 MB / 0.558 GB, free: 4.715 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.6002, allocations: 15.44 kB / 0.558 GB, free: 4.699 MB / 395.1 MB Notification: Performance of SimCode: time 9.71e-07/0.6002, allocations: 0 / 0.558 GB, free: 4.699 MB / 395.1 MB Notification: Performance of Templates: time 0.005376/0.6056, allocations: 1.728 MB / 0.5597 GB, free: 2.977 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches