Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008435/0.0008435, allocations: 94.14 kB / 261.8 MB, free: 1.609 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.1997/0.1997, allocations: 43.49 MB / 353.2 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.447e-05/1.45e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4285/0.5577, allocations: 85.59 MB / 0.5495 GB, free: 9.004 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.5579, allocations: 72.2 kB / 0.5496 GB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008001/0.566, allocations: 3.577 MB / 0.5531 GB, free: 6.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.566, allocations: 0 / 0.5531 GB, free: 6.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.566, allocations: 8 kB / 0.5531 GB, free: 6.223 MB / 362.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.0002981/0.5663, allocations: 365.6 kB / 0.5534 GB, free: 5.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5664, allocations: 8.031 kB / 0.5534 GB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.5664, allocations: 10.84 kB / 0.5535 GB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.5666, allocations: 198.8 kB / 0.5536 GB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5666, allocations: 4 kB / 0.5536 GB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.5666, allocations: 0 / 0.5536 GB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.482e-05/0.5667, allocations: 15.73 kB / 0.5537 GB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.761e-05/0.5668, allocations: 40.77 kB / 0.5537 GB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5668, allocations: 0 / 0.5537 GB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.5668, allocations: 0 / 0.5537 GB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.5668, allocations: 0 / 0.5537 GB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.5671, allocations: 259.4 kB / 0.5539 GB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.5673, allocations: 40.88 kB / 0.554 GB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.5673, allocations: 8.859 kB / 0.554 GB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.5673, allocations: 4 kB / 0.554 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.5673, allocations: 38 kB / 0.554 GB, free: 5.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5673, allocations: 3.938 kB / 0.554 GB, free: 5.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000331/0.5677, allocations: 95.17 kB / 0.5541 GB, free: 5.055 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/0.5677, allocations: 55.36 kB / 0.5542 GB, free: 4.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.5678, allocations: 146.2 kB / 0.5543 GB, free: 4.855 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.5678, allocations: 25.7 kB / 0.5543 GB, free: 4.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.5679, allocations: 106.7 kB / 0.5544 GB, free: 4.727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.5679, allocations: 15.72 kB / 0.5545 GB, free: 4.711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.5679, allocations: 0 / 0.5545 GB, free: 4.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.5679, allocations: 326.2 kB / 0.5548 GB, free: 4.391 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.568, allocations: 11.94 kB / 0.5548 GB, free: 4.379 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/0.568, allocations: 7.625 kB / 0.5548 GB, free: 4.375 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.085e-05/0.568, allocations: 7.062 kB / 0.5548 GB, free: 4.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.568, allocations: 0 / 0.5548 GB, free: 4.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.21e-05/0.5681, allocations: 60.53 kB / 0.5549 GB, free: 4.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.5681, allocations: 8 kB / 0.5549 GB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.5681, allocations: 0 / 0.5549 GB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5681, allocations: 0 / 0.5549 GB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.5682, allocations: 15.98 kB / 0.5549 GB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5682, allocations: 7.953 kB / 0.5549 GB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/0.5683, allocations: 4 kB / 0.5549 GB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.5683, allocations: 3.438 kB / 0.5549 GB, free: 4.277 MB / 362.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 (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 4.353e-05/0.5683, allocations: 105.1 kB / 0.555 GB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.5684, allocations: 15.83 kB / 0.555 GB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.5685, allocations: 64.34 kB / 0.5551 GB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.5685, allocations: 0 / 0.5551 GB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5685, allocations: 0 / 0.5551 GB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5685, allocations: 7.953 kB / 0.5551 GB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.5687, allocations: 300.9 kB / 0.5554 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5687, allocations: 3.938 kB / 0.5554 GB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.5688, allocations: 16.36 kB / 0.5554 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5688, allocations: 0 / 0.5554 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.5688, allocations: 0 / 0.5554 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5688, allocations: 4 kB / 0.5554 GB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5688, allocations: 7.953 kB / 0.5554 GB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.481e-05/0.5689, allocations: 156.8 kB / 0.5555 GB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.569, allocations: 95.86 kB / 0.5556 GB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.569, allocations: 0 / 0.5556 GB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.5691, allocations: 8 kB / 0.5556 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.5691, allocations: 11.94 kB / 0.5557 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.5691, allocations: 0 / 0.5557 GB, free: 3.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.335e-05/0.5692, allocations: 126.8 kB / 0.5558 GB, free: 3.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5692, allocations: 3.938 kB / 0.5558 GB, free: 3.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000225/0.5694, allocations: 23.88 kB / 0.5558 GB, free: 3.316 MB / 362.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 () * 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.0006303/0.5701, allocations: 327.1 kB / 0.5561 GB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.952e-05/0.5701, allocations: 23.75 kB / 0.5561 GB, free: 3.027 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5702, allocations: 4 kB / 0.5561 GB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.5702, allocations: 19.62 kB / 0.5562 GB, free: 3.008 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.5704, allocations: 19.72 kB / 0.5562 GB, free: 2.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.5706, allocations: 120.1 kB / 0.5563 GB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.5708, allocations: 0.7007 MB / 0.557 GB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.853e-05/0.5708, allocations: 8.188 kB / 0.557 GB, free: 2.125 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.5709, allocations: 19.38 kB / 0.557 GB, free: 2.105 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5709, allocations: 0 / 0.557 GB, free: 2.105 MB / 362.7 MB Notification: Performance of Templates: time 0.002853/0.5737, allocations: 1.031 MB / 0.558 GB, free: 1.098 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches