Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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_cpp_ModelicaTest.Tables.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.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_cpp_ModelicaTest.Tables.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002079/0.002079, 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.183/2.183, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.001107/0.001107, allocations: 87.11 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.2991/0.2991, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.584e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4095, allocations: 58.84 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.5901, allocations: 85.71 MB / 0.5496 GB, free: 13.61 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5904, allocations: 75.47 kB / 0.5497 GB, free: 13.54 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01592/0.6064, allocations: 3.591 MB / 0.5532 GB, free: 9.953 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6064, allocations: 0 / 0.5532 GB, free: 9.953 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.6065, allocations: 4 kB / 0.5532 GB, free: 9.949 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.0005243/0.607, allocations: 374.3 kB / 0.5535 GB, free: 9.539 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6071, allocations: 8.031 kB / 0.5535 GB, free: 9.531 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.6071, allocations: 11.89 kB / 0.5536 GB, free: 9.52 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.6075, allocations: 194.8 kB / 0.5537 GB, free: 9.289 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.6075, allocations: 4 kB / 0.5537 GB, free: 9.285 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.6075, allocations: 4 kB / 0.5537 GB, free: 9.281 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.144e-05/0.6076, allocations: 15.98 kB / 0.5538 GB, free: 9.266 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.6077, allocations: 45.62 kB / 0.5538 GB, free: 9.215 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.6078, allocations: 0 / 0.5538 GB, free: 9.215 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.6078, allocations: 0 / 0.5538 GB, free: 9.215 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.6078, allocations: 0 / 0.5538 GB, free: 9.215 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.6083, allocations: 265.5 kB / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.6086, allocations: 34.56 kB / 0.5541 GB, free: 8.875 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.6086, allocations: 8.859 kB / 0.5541 GB, free: 8.863 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.6087, allocations: 7.938 kB / 0.5541 GB, free: 8.855 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.6087, allocations: 34.56 kB / 0.5541 GB, free: 8.812 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 4.859e-06/0.6087, allocations: 3.984 kB / 0.5541 GB, free: 8.809 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.000584/0.6093, allocations: 105.5 kB / 0.5542 GB, free: 8.699 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.6094, allocations: 55.36 kB / 0.5543 GB, free: 8.633 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.6096, allocations: 148.4 kB / 0.5544 GB, free: 8.484 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.6097, allocations: 25.7 kB / 0.5545 GB, free: 8.453 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/0.6098, allocations: 170.4 kB / 0.5546 GB, free: 8.285 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.6098, allocations: 15.66 kB / 0.5546 GB, free: 8.27 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.6098, allocations: 0 / 0.5546 GB, free: 8.27 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.61, allocations: 322.8 kB / 0.5549 GB, free: 7.945 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/0.61, allocations: 8 kB / 0.555 GB, free: 7.938 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.582e-05/0.6101, allocations: 16.06 kB / 0.555 GB, free: 7.922 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.502e-05/0.6102, allocations: 15.98 kB / 0.555 GB, free: 7.906 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6102, allocations: 0 / 0.555 GB, free: 7.906 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001585/0.6103, allocations: 61.69 kB / 0.555 GB, free: 7.84 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6104, allocations: 4 kB / 0.5551 GB, free: 7.836 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.6104, allocations: 0 / 0.5551 GB, free: 7.836 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6104, allocations: 3.938 kB / 0.5551 GB, free: 7.832 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.6106, allocations: 16 kB / 0.5551 GB, free: 7.816 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.6106, allocations: 3.953 kB / 0.5551 GB, free: 7.812 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.6107, allocations: 7.984 kB / 0.5551 GB, free: 7.805 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.6107, allocations: 4 kB / 0.5551 GB, free: 7.801 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.624e-05/0.6108, allocations: 105 kB / 0.5552 GB, free: 7.691 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.6109, allocations: 7.906 kB / 0.5552 GB, free: 7.684 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.6111, allocations: 74.08 kB / 0.5553 GB, free: 7.609 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6111, allocations: 0 / 0.5553 GB, free: 7.609 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6112, allocations: 4 kB / 0.5553 GB, free: 7.605 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.6112, allocations: 3.953 kB / 0.5553 GB, free: 7.602 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.6117, allocations: 315.1 kB / 0.5556 GB, free: 7.25 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6117, allocations: 4 kB / 0.5556 GB, free: 7.246 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.6118, allocations: 15.98 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.6119, allocations: 4 kB / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.6119, allocations: 0 / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6119, allocations: 0 / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.6119, allocations: 8.266 kB / 0.5556 GB, free: 7.219 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.6121, allocations: 159.5 kB / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.6122, allocations: 93 kB / 0.5558 GB, free: 6.938 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.6123, allocations: 0 / 0.5558 GB, free: 6.938 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.6124, allocations: 8 kB / 0.5558 GB, free: 6.93 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.6125, allocations: 11.94 kB / 0.5559 GB, free: 6.918 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.6125, allocations: 0 / 0.5559 GB, free: 6.918 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.6126, allocations: 131.2 kB / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.645e-06/0.6127, allocations: 0 / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.613, allocations: 23.88 kB / 0.556 GB, free: 6.766 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.001023/0.6141, allocations: 325.7 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.6143, allocations: 35.98 kB / 0.5564 GB, free: 6.445 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6143, allocations: 4 kB / 0.5564 GB, free: 6.441 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.6143, allocations: 19.94 kB / 0.5564 GB, free: 6.422 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.6147, allocations: 23.77 kB / 0.5564 GB, free: 6.398 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.6152, allocations: 154.2 kB / 0.5565 GB, free: 6.219 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.6155, allocations: 0.7041 MB / 0.5572 GB, free: 5.488 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.6156, allocations: 11.44 kB / 0.5572 GB, free: 5.477 MB / 395.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6156, allocations: 4 kB / 0.5572 GB, free: 5.473 MB / 395.1 MB Notification: Performance of Templates: time 0.004705/0.6203, allocations: 1.471 MB / 0.5587 GB, free: 4.008 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches