Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.643/1.643, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001104/0.001104, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2077/0.2077, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1299, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/0.5394, allocations: 87.47 MB / 0.5642 GB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.5398, allocations: 74.53 kB / 0.5642 GB, free: 12.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01181/0.5516, allocations: 4.595 MB / 0.5687 GB, free: 8.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5516, allocations: 0 / 0.5687 GB, free: 8.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.5517, allocations: 0 / 0.5687 GB, free: 8.617 MB / 378.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.0004886/0.5522, allocations: 405.8 kB / 0.5691 GB, free: 8.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5522, allocations: 12.02 kB / 0.5691 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.5523, allocations: 11.86 kB / 0.5691 GB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.5525, allocations: 186.1 kB / 0.5693 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5525, allocations: 7.125 kB / 0.5693 GB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.5526, allocations: 4 kB / 0.5693 GB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.5528, allocations: 84.67 kB / 0.5694 GB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5528, allocations: 0 / 0.5694 GB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.5528, allocations: 0 / 0.5694 GB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.5528, allocations: 3.938 kB / 0.5694 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.553, allocations: 54.91 kB / 0.5695 GB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.5535, allocations: 302.3 kB / 0.5698 GB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.5536, allocations: 57.86 kB / 0.5698 GB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.5536, allocations: 0 / 0.5698 GB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.5537, allocations: 42.19 kB / 0.5699 GB, free: 7.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.5537, allocations: 0 / 0.5699 GB, free: 7.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008011/0.5545, allocations: 262.1 kB / 0.5701 GB, free: 7.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.5546, allocations: 81.11 kB / 0.5702 GB, free: 7.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.5547, allocations: 138.4 kB / 0.5703 GB, free: 6.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.5547, allocations: 25.7 kB / 0.5703 GB, free: 6.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.5548, allocations: 95.02 kB / 0.5704 GB, free: 6.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.5548, allocations: 25.95 kB / 0.5705 GB, free: 6.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.5548, allocations: 0 / 0.5705 GB, free: 6.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.555, allocations: 323 kB / 0.5708 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.5551, allocations: 43.16 kB / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.5552, allocations: 70.92 kB / 0.5709 GB, free: 6.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.5553, allocations: 46.28 kB / 0.5709 GB, free: 6.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5554, allocations: 4 kB / 0.5709 GB, free: 6.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002852/0.5557, allocations: 139.7 kB / 0.5711 GB, free: 6.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5557, allocations: 4 kB / 0.5711 GB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5557, allocations: 4 kB / 0.5711 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5557, allocations: 3.953 kB / 0.5711 GB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.5558, allocations: 27.97 kB / 0.5711 GB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5559, allocations: 4.062 kB / 0.5711 GB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.5559, allocations: 12 kB / 0.5711 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.5559, allocations: 0 / 0.5711 GB, free: 6.117 MB / 378.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.000103/0.5561, allocations: 125.1 kB / 0.5712 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.5561, allocations: 7.906 kB / 0.5712 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.5565, allocations: 159.2 kB / 0.5714 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5565, allocations: 0 / 0.5714 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.5565, allocations: 3.953 kB / 0.5714 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.5565, allocations: 0 / 0.5714 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.5571, allocations: 424 kB / 0.5718 GB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5571, allocations: 0 / 0.5718 GB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.5572, allocations: 31.86 kB / 0.5718 GB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5572, allocations: 288 / 0.5718 GB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.5572, allocations: 6.391 kB / 0.5718 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5572, allocations: 4 kB / 0.5718 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5572, allocations: 0 / 0.5718 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.5575, allocations: 241.5 kB / 0.5721 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.5576, allocations: 91.56 kB / 0.5722 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.5576, allocations: 1.25 kB / 0.5722 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.5577, allocations: 16.44 kB / 0.5722 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.5578, allocations: 5.062 kB / 0.5722 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.5578, allocations: 5.062 kB / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.677e-05/0.5579, allocations: 119.9 kB / 0.5723 GB, free: 4.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5579, allocations: 0 / 0.5723 GB, free: 4.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.5582, allocations: 31.69 kB / 0.5723 GB, free: 4.871 MB / 378.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.001012/0.5592, allocations: 450 kB / 0.5728 GB, free: 4.488 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.5595, allocations: 115.2 kB / 0.5729 GB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5595, allocations: 0 / 0.5729 GB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.5597, allocations: 60.78 kB / 0.5729 GB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.5599, allocations: 15.55 kB / 0.5729 GB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.5603, allocations: 220.2 kB / 0.5731 GB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.5606, allocations: 0.704 MB / 0.5738 GB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.853e-05/0.5607, allocations: 16.66 kB / 0.5738 GB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.5608, allocations: 15.42 kB / 0.5739 GB, free: 3.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5608, allocations: 4 kB / 0.5739 GB, free: 3.336 MB / 378.7 MB Notification: Performance of Templates: time 0.004091/0.5649, allocations: 1.458 MB / 0.5753 GB, free: 1.891 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches