Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 172.1 kB / 16.76 MB, free: 5.059 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.581/1.581, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008399/0.0008398, allocations: 85.41 kB / 271.3 MB, free: 8.25 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.3098/0.3098, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1052, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2968/0.4021, allocations: 86.38 MB / 0.5643 GB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.4024, allocations: 75.97 kB / 0.5644 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01/0.4124, allocations: 3.539 MB / 0.5678 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4125, allocations: 3.844 kB / 0.5678 GB, free: 12.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.4125, allocations: 0 / 0.5678 GB, free: 12.04 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.0003801/0.4129, allocations: 382.8 kB / 0.5682 GB, free: 11.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.4129, allocations: 12.03 kB / 0.5682 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.413, allocations: 8.922 kB / 0.5682 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.4132, allocations: 192.7 kB / 0.5684 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.4132, allocations: 384 / 0.5684 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.4132, allocations: 8.375 kB / 0.5684 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.4134, allocations: 50.23 kB / 0.5685 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4134, allocations: 192 / 0.5685 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.4134, allocations: 3.938 kB / 0.5685 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.4134, allocations: 4 kB / 0.5685 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.783e-05/0.4135, allocations: 23.98 kB / 0.5685 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.4138, allocations: 276.9 kB / 0.5688 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.414, allocations: 50.5 kB / 0.5688 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.4141, allocations: 20.94 kB / 0.5688 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.4141, allocations: 0 / 0.5688 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.4141, allocations: 30.56 kB / 0.5689 GB, free: 10.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.4142, allocations: 0 / 0.5689 GB, free: 10.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005041/0.4147, allocations: 157.2 kB / 0.569 GB, free: 10.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4147, allocations: 55.41 kB / 0.5691 GB, free: 10.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.4148, allocations: 137.6 kB / 0.5692 GB, free: 10.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.4149, allocations: 29.7 kB / 0.5692 GB, free: 10.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.4149, allocations: 100.1 kB / 0.5693 GB, free: 10.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.4149, allocations: 11.81 kB / 0.5693 GB, free: 10.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.415, allocations: 0 / 0.5693 GB, free: 10.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4151, allocations: 323 kB / 0.5696 GB, free: 9.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.4151, allocations: 27.92 kB / 0.5697 GB, free: 9.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.4152, allocations: 27.92 kB / 0.5697 GB, free: 9.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.4154, allocations: 48.84 kB / 0.5697 GB, free: 9.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4154, allocations: 0 / 0.5697 GB, free: 9.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001763/0.4156, allocations: 89.56 kB / 0.5698 GB, free: 9.789 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4156, allocations: 8 kB / 0.5698 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4156, allocations: 0 / 0.5698 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.4156, allocations: 0 / 0.5698 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.4157, allocations: 15.98 kB / 0.5698 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4157, allocations: 3.938 kB / 0.5698 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.4157, allocations: 9.875 kB / 0.5699 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.4157, allocations: 0 / 0.5699 GB, free: 9.754 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 8.559e-05/0.4158, allocations: 133.7 kB / 0.57 GB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.4159, allocations: 3.906 kB / 0.57 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.4161, allocations: 98.7 kB / 0.5701 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4161, allocations: 0 / 0.5701 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.4161, allocations: 4 kB / 0.5701 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4161, allocations: 0 / 0.5701 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.4165, allocations: 358.5 kB / 0.5704 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4166, allocations: 0 / 0.5704 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.4166, allocations: 16.86 kB / 0.5704 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.4166, allocations: 4 kB / 0.5704 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.4166, allocations: 3.938 kB / 0.5704 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4166, allocations: 4 kB / 0.5705 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4167, allocations: 0 / 0.5705 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.4169, allocations: 187.8 kB / 0.5706 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.4169, allocations: 93 kB / 0.5707 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.417, allocations: 0 / 0.5707 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.581e-05/0.417, allocations: 8 kB / 0.5707 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.4171, allocations: 11.92 kB / 0.5707 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.4171, allocations: 4 kB / 0.5707 GB, free: 8.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.257e-05/0.4172, allocations: 103.3 kB / 0.5708 GB, free: 8.641 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4172, allocations: 0 / 0.5708 GB, free: 8.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.4174, allocations: 23.98 kB / 0.5709 GB, free: 8.617 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.0008143/0.4182, allocations: 412.5 kB / 0.5713 GB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.4184, allocations: 55.95 kB / 0.5713 GB, free: 8.246 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4185, allocations: 3.938 kB / 0.5713 GB, free: 8.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.4185, allocations: 32.11 kB / 0.5713 GB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.4188, allocations: 15.98 kB / 0.5714 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.4192, allocations: 171.2 kB / 0.5715 GB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.4195, allocations: 0.6965 MB / 0.5722 GB, free: 7.289 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.745e-05/0.4196, allocations: 11.98 kB / 0.5722 GB, free: 7.277 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.4196, allocations: 11.44 kB / 0.5722 GB, free: 7.266 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4196, allocations: 0 / 0.5722 GB, free: 7.266 MB / 394.7 MB Notification: Performance of Templates: time 0.003052/0.4227, allocations: 1.012 MB / 0.5732 GB, free: 6.258 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches