Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.606/1.606, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.000848/0.000848, allocations: 85.03 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.3874/0.3874, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004204, allocations: 15.98 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1368, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3752/0.512, allocations: 86.68 MB / 0.5646 GB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5123, allocations: 77.56 kB / 0.5647 GB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01068/0.523, allocations: 4.312 MB / 0.5689 GB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.5231, allocations: 0 / 0.5689 GB, free: 10.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.5231, allocations: 0 / 0.5689 GB, free: 10.83 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.0004479/0.5235, allocations: 386.9 kB / 0.5692 GB, free: 10.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5236, allocations: 12.03 kB / 0.5693 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.5237, allocations: 8.844 kB / 0.5693 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.5239, allocations: 192.2 kB / 0.5694 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5239, allocations: 3 kB / 0.5694 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.5239, allocations: 384 / 0.5694 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.5241, allocations: 67.95 kB / 0.5695 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5241, allocations: 4.125 kB / 0.5695 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5242, allocations: 3.938 kB / 0.5695 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.5242, allocations: 4 kB / 0.5695 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.1e-05/0.5243, allocations: 23.98 kB / 0.5695 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.5246, allocations: 272.9 kB / 0.5698 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.5248, allocations: 50.44 kB / 0.5699 GB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.5249, allocations: 16.86 kB / 0.5699 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.525, allocations: 4 kB / 0.5699 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.525, allocations: 34.92 kB / 0.5699 GB, free: 9.605 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.525, allocations: 0 / 0.5699 GB, free: 9.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000545/0.5255, allocations: 153.4 kB / 0.5701 GB, free: 9.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.5256, allocations: 81.11 kB / 0.5701 GB, free: 9.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.5257, allocations: 133.8 kB / 0.5703 GB, free: 9.211 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.5258, allocations: 29.7 kB / 0.5703 GB, free: 9.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.5258, allocations: 96.08 kB / 0.5704 GB, free: 9.078 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.5259, allocations: 19.66 kB / 0.5704 GB, free: 9.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.5259, allocations: 0 / 0.5704 GB, free: 9.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.526, allocations: 322.8 kB / 0.5707 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.5261, allocations: 19.98 kB / 0.5707 GB, free: 8.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.5261, allocations: 37.7 kB / 0.5708 GB, free: 8.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.5263, allocations: 56.83 kB / 0.5708 GB, free: 8.613 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5263, allocations: 0 / 0.5708 GB, free: 8.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001898/0.5265, allocations: 86.52 kB / 0.5709 GB, free: 8.523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5265, allocations: 8 kB / 0.5709 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5265, allocations: 0 / 0.5709 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.5265, allocations: 0 / 0.5709 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.5266, allocations: 15.98 kB / 0.5709 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5266, allocations: 0 / 0.5709 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/0.5267, allocations: 4.25 kB / 0.5709 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.5267, allocations: 15.98 kB / 0.5709 GB, free: 8.48 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.198e-05/0.5268, allocations: 121.8 kB / 0.5711 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.5268, allocations: 4.656 kB / 0.5711 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.527, allocations: 102.4 kB / 0.5712 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.527, allocations: 4 kB / 0.5712 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5271, allocations: 0 / 0.5712 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5271, allocations: 288 / 0.5712 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.5275, allocations: 350.5 kB / 0.5715 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5275, allocations: 0 / 0.5715 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.5276, allocations: 19.94 kB / 0.5715 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5276, allocations: 7.922 kB / 0.5715 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.5276, allocations: 7.984 kB / 0.5715 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5276, allocations: 0 / 0.5715 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5276, allocations: 0 / 0.5715 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.5278, allocations: 191.4 kB / 0.5717 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.5279, allocations: 85 kB / 0.5718 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.5279, allocations: 4 kB / 0.5718 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.528, allocations: 4 kB / 0.5718 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.528, allocations: 15.92 kB / 0.5718 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.528, allocations: 0 / 0.5718 GB, free: 7.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.786e-05/0.5281, allocations: 103.2 kB / 0.5719 GB, free: 7.379 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5281, allocations: 4 kB / 0.5719 GB, free: 7.375 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.5284, allocations: 24 kB / 0.5719 GB, free: 7.352 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.001001/0.5294, allocations: 458.1 kB / 0.5724 GB, free: 6.992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.5296, allocations: 59.95 kB / 0.5724 GB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5296, allocations: 0 / 0.5724 GB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.5297, allocations: 27.98 kB / 0.5725 GB, free: 6.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.53, allocations: 11.94 kB / 0.5725 GB, free: 6.895 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.5304, allocations: 171.2 kB / 0.5726 GB, free: 6.707 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.5307, allocations: 0.6887 MB / 0.5733 GB, free: 5.992 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.236e-05/0.5307, allocations: 8 kB / 0.5733 GB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.449e-05/0.5308, allocations: 19.42 kB / 0.5733 GB, free: 5.969 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5308, allocations: 4 kB / 0.5733 GB, free: 5.965 MB / 394.7 MB Notification: Performance of Templates: time 0.003692/0.5345, allocations: 1.279 MB / 0.5746 GB, free: 4.691 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches