Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002212/0.002211, allocations: 178.4 kB / 8.362 MB, free: 0.7148 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.009/2.009, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.001109/0.001109, allocations: 89.53 kB / 262.1 MB, free: 13.88 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.3401/0.3401, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.729e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.412, allocations: 58.84 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.5756, allocations: 85.64 MB / 0.5495 GB, free: 13.67 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.576, allocations: 75.47 kB / 0.5496 GB, free: 13.6 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01716/0.5932, allocations: 4.102 MB / 0.5536 GB, free: 9.496 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5932, allocations: 0 / 0.5536 GB, free: 9.496 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.5933, allocations: 7.938 kB / 0.5536 GB, free: 9.488 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.0005329/0.5938, allocations: 394.2 kB / 0.554 GB, free: 9.059 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5939, allocations: 8.031 kB / 0.554 GB, free: 9.051 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.5939, allocations: 15.81 kB / 0.554 GB, free: 9.035 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.5943, allocations: 222.6 kB / 0.5542 GB, free: 8.777 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.5943, allocations: 0 / 0.5542 GB, free: 8.777 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.5944, allocations: 4 kB / 0.5542 GB, free: 8.773 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.313e-05/0.5945, allocations: 12 kB / 0.5542 GB, free: 8.762 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.763e-05/0.5946, allocations: 41.69 kB / 0.5543 GB, free: 8.715 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5946, allocations: 0 / 0.5543 GB, free: 8.715 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.5946, allocations: 4 kB / 0.5543 GB, free: 8.711 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5946, allocations: 0 / 0.5543 GB, free: 8.711 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.5951, allocations: 273.4 kB / 0.5545 GB, free: 8.406 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.5953, allocations: 38.56 kB / 0.5546 GB, free: 8.359 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.5954, allocations: 16.86 kB / 0.5546 GB, free: 8.34 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.5954, allocations: 0 / 0.5546 GB, free: 8.34 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.5954, allocations: 30.56 kB / 0.5546 GB, free: 8.301 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.5954, allocations: 0 / 0.5546 GB, free: 8.301 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005628/0.596, allocations: 109.2 kB / 0.5547 GB, free: 8.188 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5961, allocations: 63.34 kB / 0.5548 GB, free: 8.113 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.5965, allocations: 221.7 kB / 0.555 GB, free: 7.891 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.5965, allocations: 33.64 kB / 0.555 GB, free: 7.852 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.807e-05/0.5966, allocations: 174.5 kB / 0.5552 GB, free: 7.68 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.5967, allocations: 19.66 kB / 0.5552 GB, free: 7.66 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.5967, allocations: 0 / 0.5552 GB, free: 7.66 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5968, allocations: 314.8 kB / 0.5555 GB, free: 7.344 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.5969, allocations: 8 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.5969, allocations: 8 kB / 0.5555 GB, free: 7.328 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.597, allocations: 12.16 kB / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.597, allocations: 0 / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001397/0.5971, allocations: 61.62 kB / 0.5556 GB, free: 7.25 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5972, allocations: 4 kB / 0.5556 GB, free: 7.246 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5972, allocations: 0 / 0.5556 GB, free: 7.246 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5972, allocations: 0 / 0.5556 GB, free: 7.246 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.5973, allocations: 12.14 kB / 0.5556 GB, free: 7.234 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.5974, allocations: 3.984 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/0.5974, allocations: 11.95 kB / 0.5556 GB, free: 7.219 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.5975, allocations: 0 / 0.5556 GB, free: 7.219 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.292e-05/0.5976, allocations: 105 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.5976, allocations: 15.89 kB / 0.5558 GB, free: 7.094 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.5979, allocations: 83.45 kB / 0.5558 GB, free: 7.008 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.5979, allocations: 0 / 0.5558 GB, free: 7.008 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.5979, allocations: 0 / 0.5558 GB, free: 7.008 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5979, allocations: 4 kB / 0.5558 GB, free: 7.004 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.5984, allocations: 343.1 kB / 0.5562 GB, free: 6.625 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5985, allocations: 0 / 0.5562 GB, free: 6.625 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.5986, allocations: 19.98 kB / 0.5562 GB, free: 6.605 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5986, allocations: 0 / 0.5562 GB, free: 6.605 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.5986, allocations: 0 / 0.5562 GB, free: 6.605 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.5986, allocations: 0 / 0.5562 GB, free: 6.605 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5986, allocations: 3.938 kB / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.5989, allocations: 167.4 kB / 0.5563 GB, free: 6.422 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.599, allocations: 104.9 kB / 0.5564 GB, free: 6.301 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.599, allocations: 4 kB / 0.5565 GB, free: 6.297 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.5992, allocations: 4 kB / 0.5565 GB, free: 6.293 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.5992, allocations: 7.984 kB / 0.5565 GB, free: 6.285 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.5992, allocations: 3.938 kB / 0.5565 GB, free: 6.281 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.5995, allocations: 188.3 kB / 0.5566 GB, free: 6.098 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5995, allocations: 0 / 0.5566 GB, free: 6.098 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.5999, allocations: 27.95 kB / 0.5567 GB, free: 6.07 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.001003/0.6009, allocations: 338.5 kB / 0.557 GB, free: 5.777 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.6011, allocations: 24 kB / 0.557 GB, free: 5.754 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6011, allocations: 0 / 0.557 GB, free: 5.754 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.574e-05/0.6012, allocations: 12 kB / 0.557 GB, free: 5.742 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.6015, allocations: 27.45 kB / 0.5571 GB, free: 5.715 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.6021, allocations: 230.6 kB / 0.5573 GB, free: 5.461 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.6025, allocations: 0.7197 MB / 0.558 GB, free: 4.715 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.6026, allocations: 15.42 kB / 0.558 GB, free: 4.699 MB / 395.1 MB Notification: Performance of SimCode: time 2.635e-06/0.6026, allocations: 4 kB / 0.558 GB, free: 4.695 MB / 395.1 MB Notification: Performance of Templates: time 0.005161/0.6078, allocations: 1.732 MB / 0.5597 GB, free: 2.969 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches