Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.00149, allocations: 185.8 kB / 16.41 MB, free: 5.727 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.909/1.909, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001134/0.001134, allocations: 96.2 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5085/0.5085, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006925/0.0006926, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1232, allocations: 58.83 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.587, allocations: 86.38 MB / 0.5631 GB, free: 344 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.5873, allocations: 76.47 kB / 0.5631 GB, free: 268 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.6038, allocations: 3.932 MB / 0.567 GB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6039, allocations: 0 / 0.567 GB, free: 12.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.6039, allocations: 4 kB / 0.567 GB, free: 12.37 MB / 394.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.0005442/0.6045, allocations: 407.5 kB / 0.5674 GB, free: 11.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6045, allocations: 16.02 kB / 0.5674 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.6046, allocations: 11.91 kB / 0.5674 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.6049, allocations: 198.3 kB / 0.5676 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.6049, allocations: 0 / 0.5676 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.605, allocations: 7.969 kB / 0.5676 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.6051, allocations: 46.25 kB / 0.5676 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.6052, allocations: 4 kB / 0.5677 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.6052, allocations: 4 kB / 0.5677 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.6052, allocations: 4 kB / 0.5677 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.6054, allocations: 33.55 kB / 0.5677 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.6058, allocations: 280.8 kB / 0.568 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.6061, allocations: 54.55 kB / 0.568 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.6061, allocations: 0 / 0.568 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.6062, allocations: 34.5 kB / 0.568 GB, free: 11.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.6062, allocations: 0 / 0.568 GB, free: 11.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008242/0.607, allocations: 165.3 kB / 0.5682 GB, free: 10.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.6071, allocations: 54.78 kB / 0.5683 GB, free: 10.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.6074, allocations: 189.3 kB / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.6074, allocations: 25.7 kB / 0.5685 GB, free: 10.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.6075, allocations: 166.5 kB / 0.5686 GB, free: 10.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.6075, allocations: 15.81 kB / 0.5686 GB, free: 10.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.6076, allocations: 0 / 0.5686 GB, free: 10.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6077, allocations: 323 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.6078, allocations: 19.98 kB / 0.569 GB, free: 10.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.608, allocations: 19.98 kB / 0.569 GB, free: 10.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.6081, allocations: 24 kB / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6081, allocations: 0 / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003109/0.6084, allocations: 85.66 kB / 0.5691 GB, free: 10.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6085, allocations: 4 kB / 0.5691 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.6085, allocations: 0 / 0.5691 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6085, allocations: 4 kB / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.6086, allocations: 15.94 kB / 0.5691 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.6087, allocations: 0 / 0.5691 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/0.6088, allocations: 11.98 kB / 0.5691 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.6088, allocations: 3.953 kB / 0.5691 GB, free: 9.992 MB / 394.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 0.0001253/0.6089, allocations: 125.8 kB / 0.5692 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.609, allocations: 11.91 kB / 0.5693 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.6094, allocations: 105.9 kB / 0.5694 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6094, allocations: 0 / 0.5694 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6094, allocations: 0 / 0.5694 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.6094, allocations: 0 / 0.5694 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.6101, allocations: 379.3 kB / 0.5697 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.6101, allocations: 0 / 0.5697 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.6102, allocations: 12 kB / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6102, allocations: 0 / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.6103, allocations: 4 kB / 0.5697 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.6103, allocations: 0 / 0.5697 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.6103, allocations: 4.359 kB / 0.5697 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.6107, allocations: 199.3 kB / 0.5699 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.47e-05/0.6108, allocations: 93 kB / 0.57 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.6108, allocations: 0 / 0.57 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.6109, allocations: 12 kB / 0.57 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.611, allocations: 8.734 kB / 0.57 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.611, allocations: 4 kB / 0.57 GB, free: 8.949 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.6112, allocations: 155.8 kB / 0.5702 GB, free: 8.801 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6112, allocations: 0 / 0.5702 GB, free: 8.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003425/0.6116, allocations: 23.94 kB / 0.5702 GB, free: 8.777 MB / 394.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.001161/0.6128, allocations: 410.1 kB / 0.5706 GB, free: 8.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.6131, allocations: 59.91 kB / 0.5707 GB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6131, allocations: 0 / 0.5707 GB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.6133, allocations: 27.98 kB / 0.5707 GB, free: 8.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.6136, allocations: 19.92 kB / 0.5707 GB, free: 8.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006255/0.6142, allocations: 265.1 kB / 0.571 GB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.6146, allocations: 0.7043 MB / 0.5716 GB, free: 7.352 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.6146, allocations: 23.42 kB / 0.5717 GB, free: 7.328 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6147, allocations: 0 / 0.5717 GB, free: 7.328 MB / 394.7 MB Notification: Performance of Templates: time 0.004492/0.6192, allocations: 1.542 MB / 0.5732 GB, free: 5.789 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches