Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008755/0.0008755, allocations: 175.5 kB / 16.76 MB, free: 5.027 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.436/1.436, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0008344/0.0008347, allocations: 81.94 kB / 271.3 MB, free: 8.266 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.3721/0.3721, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003843, allocations: 16 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1375, allocations: 58.83 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.5191, allocations: 86.42 MB / 0.5643 GB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.5195, allocations: 75.95 kB / 0.5644 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0102/0.5297, allocations: 3.932 MB / 0.5683 GB, free: 11.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5297, allocations: 0 / 0.5683 GB, free: 11.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.5298, allocations: 0 / 0.5683 GB, free: 11.64 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.0004656/0.5302, allocations: 407.7 kB / 0.5686 GB, free: 11.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5303, allocations: 8.031 kB / 0.5687 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.5303, allocations: 8.844 kB / 0.5687 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.5306, allocations: 207.6 kB / 0.5689 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.5306, allocations: 8.359 kB / 0.5689 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.5306, allocations: 8.375 kB / 0.5689 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.5308, allocations: 47.12 kB / 0.5689 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5308, allocations: 192 / 0.5689 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.5308, allocations: 3.938 kB / 0.5689 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5308, allocations: 4 kB / 0.5689 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/0.5309, allocations: 23.98 kB / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.5313, allocations: 292.8 kB / 0.5692 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.5315, allocations: 46.5 kB / 0.5693 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.5316, allocations: 16.86 kB / 0.5693 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.5316, allocations: 0 / 0.5693 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.5316, allocations: 38.56 kB / 0.5693 GB, free: 10.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.5316, allocations: 0 / 0.5693 GB, free: 10.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005585/0.5322, allocations: 165.5 kB / 0.5695 GB, free: 10.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.5323, allocations: 55.39 kB / 0.5695 GB, free: 10.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.5325, allocations: 198.2 kB / 0.5697 GB, free: 9.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.5325, allocations: 25.7 kB / 0.5697 GB, free: 9.914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.5326, allocations: 104 kB / 0.5698 GB, free: 9.809 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.5326, allocations: 11.81 kB / 0.5699 GB, free: 9.797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.5327, allocations: 4 kB / 0.5699 GB, free: 9.793 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.5328, allocations: 330.6 kB / 0.5702 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.5329, allocations: 27.98 kB / 0.5702 GB, free: 9.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.802e-05/0.5329, allocations: 23.98 kB / 0.5702 GB, free: 9.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.5331, allocations: 52.83 kB / 0.5703 GB, free: 9.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5331, allocations: 0 / 0.5703 GB, free: 9.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001811/0.5333, allocations: 85.58 kB / 0.5704 GB, free: 9.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5333, allocations: 4 kB / 0.5704 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5333, allocations: 3.984 kB / 0.5704 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.5333, allocations: 0 / 0.5704 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.5334, allocations: 23.92 kB / 0.5704 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5334, allocations: 0 / 0.5704 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.5334, allocations: 12 kB / 0.5704 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.5335, allocations: 0 / 0.5704 GB, free: 9.223 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 9.08e-05/0.5336, allocations: 137.7 kB / 0.5705 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.5336, allocations: 11.91 kB / 0.5705 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.5338, allocations: 105.9 kB / 0.5706 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.5338, allocations: 0 / 0.5706 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5338, allocations: 0.75 kB / 0.5706 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5339, allocations: 0 / 0.5706 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.5343, allocations: 378.4 kB / 0.571 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5343, allocations: 384 / 0.571 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/0.5344, allocations: 15.98 kB / 0.571 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5344, allocations: 0 / 0.571 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.5344, allocations: 4 kB / 0.571 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.5344, allocations: 0 / 0.571 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5344, allocations: 3.938 kB / 0.571 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.5346, allocations: 191.3 kB / 0.5712 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.5347, allocations: 97.28 kB / 0.5713 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.5347, allocations: 0 / 0.5713 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.5348, allocations: 8 kB / 0.5713 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.5349, allocations: 15.91 kB / 0.5713 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.5349, allocations: 4 kB / 0.5713 GB, free: 8.168 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.535, allocations: 155.8 kB / 0.5715 GB, free: 8.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.535, allocations: 0 / 0.5715 GB, free: 8.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.5353, allocations: 19.94 kB / 0.5715 GB, free: 8 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.0008633/0.5361, allocations: 407.2 kB / 0.5719 GB, free: 7.691 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.5363, allocations: 55.91 kB / 0.5719 GB, free: 7.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5364, allocations: 7.938 kB / 0.5719 GB, free: 7.629 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.5364, allocations: 23.98 kB / 0.572 GB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.5367, allocations: 15.98 kB / 0.572 GB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.5372, allocations: 243.3 kB / 0.5722 GB, free: 7.332 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5375, allocations: 0.7004 MB / 0.5729 GB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.5375, allocations: 12 kB / 0.5729 GB, free: 6.594 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.5375, allocations: 15.44 kB / 0.5729 GB, free: 6.578 MB / 394.7 MB Notification: Performance of SimCode: time 2e-07/0.5376, allocations: 0 / 0.5729 GB, free: 6.578 MB / 394.7 MB Notification: Performance of Templates: time 0.003441/0.541, allocations: 1.138 MB / 0.574 GB, free: 5.445 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches