Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00226/0.00226, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 89.81 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3298/0.3298, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.127e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4029, allocations: 58.85 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.5967, allocations: 85.63 MB / 0.5495 GB, free: 13.68 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.597, allocations: 67.95 kB / 0.5496 GB, free: 13.62 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01716/0.6142, allocations: 3.893 MB / 0.5534 GB, free: 9.73 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6143, allocations: 4 kB / 0.5534 GB, free: 9.727 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.6143, allocations: 4 kB / 0.5534 GB, free: 9.723 MB / 395.1 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.0004717/0.6148, allocations: 382.2 kB / 0.5538 GB, free: 9.305 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.6148, allocations: 8.031 kB / 0.5538 GB, free: 9.297 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.6149, allocations: 7.906 kB / 0.5538 GB, free: 9.289 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.6152, allocations: 209.7 kB / 0.554 GB, free: 9.047 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-06/0.6153, allocations: 0 / 0.554 GB, free: 9.047 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.6153, allocations: 0 / 0.554 GB, free: 9.047 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.807e-05/0.6154, allocations: 16 kB / 0.554 GB, free: 9.031 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.56e-05/0.6155, allocations: 41.69 kB / 0.554 GB, free: 8.984 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.6155, allocations: 0 / 0.554 GB, free: 8.984 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6155, allocations: 0 / 0.554 GB, free: 8.984 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6155, allocations: 3.938 kB / 0.554 GB, free: 8.98 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.616, allocations: 261.4 kB / 0.5543 GB, free: 8.688 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.6162, allocations: 42.56 kB / 0.5543 GB, free: 8.637 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.6162, allocations: 12.84 kB / 0.5543 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.6163, allocations: 4 kB / 0.5543 GB, free: 8.617 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.6163, allocations: 30.56 kB / 0.5544 GB, free: 8.578 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.6163, allocations: 0 / 0.5544 GB, free: 8.578 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004699/0.6168, allocations: 97.42 kB / 0.5545 GB, free: 8.477 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.6168, allocations: 55.41 kB / 0.5545 GB, free: 8.41 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.6171, allocations: 181.3 kB / 0.5547 GB, free: 8.227 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.6171, allocations: 29.7 kB / 0.5547 GB, free: 8.191 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.6172, allocations: 162.5 kB / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.6173, allocations: 23.73 kB / 0.5549 GB, free: 8.008 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.6173, allocations: 0 / 0.5549 GB, free: 8.008 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6174, allocations: 314.8 kB / 0.5552 GB, free: 7.691 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.6175, allocations: 8 kB / 0.5552 GB, free: 7.684 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.6176, allocations: 8 kB / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.555e-05/0.6176, allocations: 24.28 kB / 0.5552 GB, free: 7.652 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6176, allocations: 0 / 0.5552 GB, free: 7.652 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000124/0.6178, allocations: 49.69 kB / 0.5553 GB, free: 7.598 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6178, allocations: 4 kB / 0.5553 GB, free: 7.594 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6178, allocations: 0 / 0.5553 GB, free: 7.594 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6178, allocations: 0 / 0.5553 GB, free: 7.594 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.618, allocations: 15.98 kB / 0.5553 GB, free: 7.578 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.618, allocations: 0 / 0.5553 GB, free: 7.578 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.6181, allocations: 8 kB / 0.5553 GB, free: 7.57 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.6181, allocations: 4 kB / 0.5553 GB, free: 7.566 MB / 395.1 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 8.36e-05/0.6182, allocations: 112.9 kB / 0.5554 GB, free: 7.449 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.6182, allocations: 19.8 kB / 0.5554 GB, free: 7.43 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.6184, allocations: 66.03 kB / 0.5555 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6185, allocations: 0 / 0.5555 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6185, allocations: 0 / 0.5555 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6185, allocations: 0 / 0.5555 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.619, allocations: 327.1 kB / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.619, allocations: 0 / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.6191, allocations: 19.92 kB / 0.5558 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6191, allocations: 0 / 0.5558 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.6191, allocations: 0 / 0.5558 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6192, allocations: 0 / 0.5558 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6192, allocations: 0 / 0.5558 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.6194, allocations: 163.6 kB / 0.556 GB, free: 6.797 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.6195, allocations: 97.06 kB / 0.5561 GB, free: 6.684 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.6195, allocations: 8 kB / 0.5561 GB, free: 6.676 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.6196, allocations: 4 kB / 0.5561 GB, free: 6.672 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.6197, allocations: 7.984 kB / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.6197, allocations: 0 / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.6199, allocations: 152 kB / 0.5562 GB, free: 6.516 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6199, allocations: 0 / 0.5562 GB, free: 6.516 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.6203, allocations: 24 kB / 0.5563 GB, free: 6.492 MB / 395.1 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.0009887/0.6213, allocations: 346.9 kB / 0.5566 GB, free: 6.188 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.6214, allocations: 24 kB / 0.5566 GB, free: 6.164 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.6215, allocations: 0 / 0.5566 GB, free: 6.164 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.6215, allocations: 12 kB / 0.5566 GB, free: 6.152 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.6219, allocations: 23.48 kB / 0.5567 GB, free: 6.133 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.6224, allocations: 197.7 kB / 0.5568 GB, free: 5.91 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.6228, allocations: 0.7041 MB / 0.5575 GB, free: 5.18 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.6228, allocations: 19.42 kB / 0.5575 GB, free: 5.16 MB / 395.1 MB Notification: Performance of SimCode: time 6.72e-07/0.6228, allocations: 0 / 0.5575 GB, free: 5.16 MB / 395.1 MB Notification: Performance of Templates: time 0.004662/0.6275, allocations: 1.536 MB / 0.559 GB, free: 3.629 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches