Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 172.2 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.646/1.646, 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.0009344/0.0009341, allocations: 85.42 kB / 271.3 MB, free: 8.262 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.4325/0.4325, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004023, allocations: 12 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.5079, allocations: 86.87 MB / 0.5648 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.5082, allocations: 71.97 kB / 0.5649 GB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.5199, allocations: 4.106 MB / 0.5689 GB, free: 11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.5199, allocations: 0 / 0.5689 GB, free: 11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.52, allocations: 0 / 0.5689 GB, free: 11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005455/0.5205, allocations: 407.3 kB / 0.5693 GB, free: 10.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5206, allocations: 11.86 kB / 0.5693 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.5206, allocations: 20.75 kB / 0.5693 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.5209, allocations: 197.3 kB / 0.5695 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5209, allocations: 384 / 0.5695 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.5209, allocations: 4.375 kB / 0.5695 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.5211, allocations: 61.8 kB / 0.5695 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5211, allocations: 0 / 0.5695 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5211, allocations: 0 / 0.5695 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.5212, allocations: 4 kB / 0.5695 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.5213, allocations: 43.97 kB / 0.5696 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.5218, allocations: 304.6 kB / 0.5699 GB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.5219, allocations: 54.55 kB / 0.5699 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.522, allocations: 24.94 kB / 0.57 GB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.522, allocations: 0 / 0.57 GB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.5221, allocations: 34.62 kB / 0.57 GB, free: 9.703 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.5221, allocations: 4 kB / 0.57 GB, free: 9.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000814/0.5229, allocations: 241.1 kB / 0.5702 GB, free: 9.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.5229, allocations: 51.41 kB / 0.5703 GB, free: 9.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.5232, allocations: 177.7 kB / 0.5704 GB, free: 9.207 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.5232, allocations: 25.7 kB / 0.5705 GB, free: 9.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.5233, allocations: 104.1 kB / 0.5706 GB, free: 9.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.5233, allocations: 23.66 kB / 0.5706 GB, free: 9.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.5233, allocations: 0 / 0.5706 GB, free: 9.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5235, allocations: 322.8 kB / 0.5709 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.5236, allocations: 39.97 kB / 0.5709 GB, free: 8.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.5237, allocations: 44.05 kB / 0.571 GB, free: 8.641 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.524, allocations: 89.5 kB / 0.5711 GB, free: 8.551 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.524, allocations: 0 / 0.5711 GB, free: 8.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002905/0.5243, allocations: 133.8 kB / 0.5712 GB, free: 8.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.5243, allocations: 8 kB / 0.5712 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5243, allocations: 0 / 0.5712 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5243, allocations: 0 / 0.5712 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.5245, allocations: 23.92 kB / 0.5712 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.5245, allocations: 11.94 kB / 0.5712 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.5245, allocations: 11.98 kB / 0.5712 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.5246, allocations: 9.938 kB / 0.5713 GB, free: 8.352 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 (7): * Single equations (assignments): 7 * 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.00011/0.5247, allocations: 125.8 kB / 0.5714 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.5247, allocations: 15.81 kB / 0.5714 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.5251, allocations: 138.6 kB / 0.5715 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5251, allocations: 3.938 kB / 0.5715 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.5251, allocations: 3.938 kB / 0.5715 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5251, allocations: 3.984 kB / 0.5715 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005665/0.5257, allocations: 410.5 kB / 0.5719 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5257, allocations: 11.94 kB / 0.5719 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.5258, allocations: 19.98 kB / 0.572 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5258, allocations: 3.938 kB / 0.572 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.5258, allocations: 0.875 kB / 0.572 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5258, allocations: 4 kB / 0.572 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5258, allocations: 3.938 kB / 0.572 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.5262, allocations: 227.4 kB / 0.5722 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.5263, allocations: 92.94 kB / 0.5723 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.5263, allocations: 0 / 0.5723 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.5264, allocations: 23.98 kB / 0.5723 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.5264, allocations: 11.98 kB / 0.5723 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.5264, allocations: 0 / 0.5723 GB, free: 7.172 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.5266, allocations: 132 kB / 0.5724 GB, free: 7.043 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5266, allocations: 0 / 0.5724 GB, free: 7.043 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.5268, allocations: 23.92 kB / 0.5725 GB, free: 7.02 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 (7): * Single equations (assignments): 7 * 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.001011/0.5279, allocations: 412 kB / 0.5728 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.5282, allocations: 95.88 kB / 0.5729 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.5282, allocations: 0 / 0.5729 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.5283, allocations: 43.97 kB / 0.573 GB, free: 6.566 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.5286, allocations: 21.34 kB / 0.573 GB, free: 6.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.5292, allocations: 239.6 kB / 0.5732 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.5296, allocations: 0.6965 MB / 0.5739 GB, free: 5.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.5296, allocations: 15.98 kB / 0.5739 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.5297, allocations: 19.41 kB / 0.5739 GB, free: 5.535 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.5297, allocations: 0 / 0.5739 GB, free: 5.535 MB / 394.7 MB Notification: Performance of Templates: time 0.004041/0.5337, allocations: 1.226 MB / 0.5751 GB, free: 4.312 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches