Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009319/0.0009318, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.4 MB / 236 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008525/0.0008526, allocations: 88.02 kB / 287 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.179/0.179, allocations: 44.14 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.997e-05, allocations: 4.219 kB / 451.8 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 61.91 MB / 0.5017 GB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3838/0.5052, allocations: 88.08 MB / 0.5877 GB, free: 1.301 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5055, allocations: 75.95 kB / 0.5878 GB, free: 1.227 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01062/0.5161, allocations: 4.2 MB / 0.5919 GB, free: 13.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5162, allocations: 0 / 0.5919 GB, free: 13.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.5162, allocations: 4 kB / 0.5919 GB, free: 13.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003741/0.5166, allocations: 390.1 kB / 0.5923 GB, free: 12.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5166, allocations: 12.02 kB / 0.5923 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.5167, allocations: 7.906 kB / 0.5923 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.5169, allocations: 198.2 kB / 0.5925 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5169, allocations: 12 kB / 0.5925 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.5169, allocations: 3.938 kB / 0.5925 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.5171, allocations: 53.64 kB / 0.5925 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5171, allocations: 3.938 kB / 0.5925 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.5171, allocations: 0 / 0.5925 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.5171, allocations: 4 kB / 0.5925 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.5172, allocations: 16 kB / 0.5926 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.5176, allocations: 308.7 kB / 0.5929 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.765e-05/0.5177, allocations: 42.52 kB / 0.5929 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.5177, allocations: 12.86 kB / 0.5929 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.5178, allocations: 7.984 kB / 0.5929 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.5178, allocations: 34.64 kB / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.5178, allocations: 0 / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005255/0.5183, allocations: 165.3 kB / 0.5931 GB, free: 11.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5184, allocations: 55.41 kB / 0.5932 GB, free: 11.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.5186, allocations: 169.9 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.5186, allocations: 25.7 kB / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.5186, allocations: 100.1 kB / 0.5934 GB, free: 11.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.5187, allocations: 27.61 kB / 0.5935 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.5187, allocations: 4 kB / 0.5935 GB, free: 11.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5188, allocations: 330.8 kB / 0.5938 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.5189, allocations: 16 kB / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/0.5189, allocations: 23.98 kB / 0.5938 GB, free: 10.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.519, allocations: 28.2 kB / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.519, allocations: 0 / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000129/0.5191, allocations: 93.52 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5191, allocations: 8 kB / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5191, allocations: 0 / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5192, allocations: 0 / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.5193, allocations: 23.98 kB / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5193, allocations: 0 / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.5194, allocations: 11.98 kB / 0.594 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.5194, allocations: 4 kB / 0.594 GB, free: 10.68 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.442e-05/0.5194, allocations: 104.9 kB / 0.5941 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.5195, allocations: 7.906 kB / 0.5941 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.5197, allocations: 126 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5197, allocations: 4 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5197, allocations: 0 / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.5197, allocations: 3.938 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.5202, allocations: 411.3 kB / 0.5946 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5202, allocations: 0 / 0.5946 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.346e-05/0.5202, allocations: 23.98 kB / 0.5946 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5203, allocations: 0 / 0.5946 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.5203, allocations: 8.031 kB / 0.5946 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5203, allocations: 0 / 0.5946 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5203, allocations: 3.938 kB / 0.5946 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.5205, allocations: 206.2 kB / 0.5948 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.5206, allocations: 92.92 kB / 0.5949 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.5206, allocations: 7.984 kB / 0.5949 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.5207, allocations: 8 kB / 0.5949 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.5207, allocations: 11.94 kB / 0.595 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.5207, allocations: 4 kB / 0.595 GB, free: 9.566 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.5208, allocations: 142.2 kB / 0.5951 GB, free: 9.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5209, allocations: 0 / 0.5951 GB, free: 9.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.5211, allocations: 31.98 kB / 0.5951 GB, free: 9.398 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008908/0.522, allocations: 418 kB / 0.5955 GB, free: 9.098 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.5221, allocations: 55.98 kB / 0.5956 GB, free: 9.043 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5221, allocations: 0 / 0.5956 GB, free: 9.043 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.607e-05/0.5222, allocations: 31.94 kB / 0.5956 GB, free: 9.012 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.5224, allocations: 16.05 kB / 0.5956 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.5228, allocations: 190.8 kB / 0.5958 GB, free: 8.781 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.523, allocations: 0.7082 MB / 0.5965 GB, free: 8.047 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.682e-05/0.5231, allocations: 20.95 kB / 0.5965 GB, free: 8.023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.5232, allocations: 31.36 kB / 0.5966 GB, free: 7.992 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5232, allocations: 0 / 0.5966 GB, free: 7.992 MB / 410.7 MB Notification: Performance of Templates: time 0.003386/0.5266, allocations: 1.351 MB / 0.5979 GB, free: 6.645 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches