Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00224/0.00224, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.94/1.94, 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.001191/0.00119, allocations: 90.16 kB / 270.9 MB, free: 8.379 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.5174/0.5174, allocations: 43.54 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004877, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.5808, allocations: 86.38 MB / 0.5631 GB, free: 368 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.5811, allocations: 71.97 kB / 0.5631 GB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01722/0.5984, allocations: 4.048 MB / 0.5671 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5984, allocations: 0 / 0.5671 GB, free: 12.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.5985, allocations: 4 kB / 0.5671 GB, free: 12.28 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.0005837/0.599, allocations: 423 kB / 0.5675 GB, free: 11.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.5991, allocations: 12.77 kB / 0.5675 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.5992, allocations: 15.34 kB / 0.5675 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.5995, allocations: 201.8 kB / 0.5677 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.5995, allocations: 4 kB / 0.5677 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.5996, allocations: 3.906 kB / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.5998, allocations: 61.67 kB / 0.5678 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5998, allocations: 0 / 0.5678 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5998, allocations: 0 / 0.5678 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5998, allocations: 8.969 kB / 0.5678 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.6, allocations: 23.98 kB / 0.5678 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.6005, allocations: 296.8 kB / 0.5681 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.6008, allocations: 46.56 kB / 0.5682 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.6008, allocations: 0 / 0.5682 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.6009, allocations: 30.56 kB / 0.5682 GB, free: 11.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.6009, allocations: 0 / 0.5682 GB, free: 11.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008446/0.6017, allocations: 173.2 kB / 0.5683 GB, free: 10.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.6018, allocations: 55.41 kB / 0.5684 GB, free: 10.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.6022, allocations: 213.8 kB / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.6022, allocations: 29.7 kB / 0.5686 GB, free: 10.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/0.6023, allocations: 166.5 kB / 0.5688 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.6024, allocations: 15.8 kB / 0.5688 GB, free: 10.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.6024, allocations: 4 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6025, allocations: 311.1 kB / 0.5691 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.6026, allocations: 27.92 kB / 0.5691 GB, free: 10 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.6028, allocations: 19.98 kB / 0.5692 GB, free: 9.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.6029, allocations: 31.92 kB / 0.5692 GB, free: 9.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.6029, allocations: 0 / 0.5692 GB, free: 9.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003117/0.6033, allocations: 77.67 kB / 0.5693 GB, free: 9.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6033, allocations: 8 kB / 0.5693 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.6033, allocations: 0 / 0.5693 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6033, allocations: 0 / 0.5693 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.6035, allocations: 15.98 kB / 0.5693 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.6035, allocations: 3.953 kB / 0.5693 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.6036, allocations: 8 kB / 0.5693 GB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.6036, allocations: 0 / 0.5693 GB, free: 9.836 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.0001492/0.6038, allocations: 134.9 kB / 0.5694 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.6038, allocations: 15.81 kB / 0.5694 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.6043, allocations: 111.1 kB / 0.5695 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.6043, allocations: 0 / 0.5695 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6043, allocations: 0 / 0.5695 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6043, allocations: 3.953 kB / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007205/0.605, allocations: 390.8 kB / 0.5699 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6051, allocations: 0 / 0.5699 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.6052, allocations: 15.98 kB / 0.5699 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.6052, allocations: 288 / 0.5699 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.6052, allocations: 4 kB / 0.5699 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.6052, allocations: 7.938 kB / 0.5699 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6052, allocations: 0 / 0.5699 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.6056, allocations: 191.3 kB / 0.5701 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6057, allocations: 96.98 kB / 0.5702 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.6058, allocations: 11.94 kB / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.6059, allocations: 11.98 kB / 0.5702 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.606, allocations: 3.953 kB / 0.5702 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.606, allocations: 3.938 kB / 0.5703 GB, free: 8.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002695/0.6063, allocations: 179.2 kB / 0.5704 GB, free: 8.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6063, allocations: 4 kB / 0.5704 GB, free: 8.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003408/0.6066, allocations: 27.98 kB / 0.5705 GB, free: 8.543 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.001188/0.6078, allocations: 411.8 kB / 0.5708 GB, free: 8.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003834/0.6082, allocations: 47.97 kB / 0.5709 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6083, allocations: 4 kB / 0.5709 GB, free: 8.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.6084, allocations: 35.91 kB / 0.5709 GB, free: 8.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.6087, allocations: 16.12 kB / 0.5709 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007391/0.6095, allocations: 301.7 kB / 0.5712 GB, free: 7.805 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.6099, allocations: 0.716 MB / 0.5719 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.61, allocations: 15.44 kB / 0.5719 GB, free: 7.047 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.61, allocations: 0 / 0.5719 GB, free: 7.047 MB / 394.7 MB Notification: Performance of Templates: time 0.004943/0.6149, allocations: 1.646 MB / 0.5736 GB, free: 5.402 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches