Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002201/0.002201, allocations: 177.8 kB / 8.36 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.155/2.155, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001617/0.001616, allocations: 93.75 kB / 262.1 MB, free: 13.87 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.2945/0.2945, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.983e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4223, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.5853, allocations: 85.59 MB / 0.5495 GB, free: 13.71 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.5856, allocations: 71.95 kB / 0.5496 GB, free: 13.64 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.6012, allocations: 3.501 MB / 0.553 GB, free: 10.14 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6012, allocations: 0 / 0.553 GB, free: 10.14 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.6013, allocations: 4.547 kB / 0.553 GB, free: 10.14 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.0004544/0.6017, allocations: 366.3 kB / 0.5533 GB, free: 9.738 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6018, allocations: 8.031 kB / 0.5533 GB, free: 9.73 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.6018, allocations: 7.906 kB / 0.5533 GB, free: 9.723 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.6022, allocations: 194.8 kB / 0.5535 GB, free: 9.492 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.6022, allocations: 0 / 0.5535 GB, free: 9.492 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.6022, allocations: 0 / 0.5535 GB, free: 9.492 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.131e-05/0.6023, allocations: 12 kB / 0.5535 GB, free: 9.48 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.6024, allocations: 49.62 kB / 0.5536 GB, free: 9.426 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.6025, allocations: 3.938 kB / 0.5536 GB, free: 9.422 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.6025, allocations: 0 / 0.5536 GB, free: 9.422 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.6025, allocations: 3.984 kB / 0.5536 GB, free: 9.418 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.6029, allocations: 245.4 kB / 0.5538 GB, free: 9.141 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.6031, allocations: 38.56 kB / 0.5539 GB, free: 9.094 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.466e-05/0.6031, allocations: 16.86 kB / 0.5539 GB, free: 9.074 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.6032, allocations: 3.984 kB / 0.5539 GB, free: 9.07 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6032, allocations: 34.56 kB / 0.5539 GB, free: 9.027 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 3.727e-06/0.6032, allocations: 0 / 0.5539 GB, free: 9.027 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004874/0.6037, allocations: 93.52 kB / 0.554 GB, free: 8.93 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.6038, allocations: 55.39 kB / 0.5541 GB, free: 8.863 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.604, allocations: 125.2 kB / 0.5542 GB, free: 8.73 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.604, allocations: 29.7 kB / 0.5542 GB, free: 8.695 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.6041, allocations: 162.6 kB / 0.5544 GB, free: 8.535 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.6041, allocations: 11.72 kB / 0.5544 GB, free: 8.523 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.6041, allocations: 3.938 kB / 0.5544 GB, free: 8.52 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6043, allocations: 318.8 kB / 0.5547 GB, free: 8.199 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.6043, allocations: 11.98 kB / 0.5547 GB, free: 8.188 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.6044, allocations: 11.94 kB / 0.5547 GB, free: 8.176 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.6044, allocations: 8 kB / 0.5547 GB, free: 8.168 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.6044, allocations: 0 / 0.5547 GB, free: 8.168 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001335/0.6046, allocations: 57.69 kB / 0.5548 GB, free: 8.105 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.6046, allocations: 8 kB / 0.5548 GB, free: 8.098 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6046, allocations: 0 / 0.5548 GB, free: 8.098 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6046, allocations: 0 / 0.5548 GB, free: 8.098 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.6048, allocations: 12 kB / 0.5548 GB, free: 8.086 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.6048, allocations: 0 / 0.5548 GB, free: 8.086 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.6049, allocations: 7.984 kB / 0.5548 GB, free: 8.078 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.6049, allocations: 4 kB / 0.5548 GB, free: 8.074 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.584e-05/0.605, allocations: 109.1 kB / 0.5549 GB, free: 7.961 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.605, allocations: 7.906 kB / 0.5549 GB, free: 7.953 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.6052, allocations: 70.02 kB / 0.555 GB, free: 7.883 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.6053, allocations: 4 kB / 0.555 GB, free: 7.879 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6053, allocations: 0 / 0.555 GB, free: 7.879 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6053, allocations: 0 / 0.555 GB, free: 7.879 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.6057, allocations: 295.1 kB / 0.5553 GB, free: 7.547 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6058, allocations: 4 kB / 0.5553 GB, free: 7.543 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.6059, allocations: 19.92 kB / 0.5553 GB, free: 7.523 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-05/0.6059, allocations: 384 / 0.5553 GB, free: 7.523 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.606, allocations: 0 / 0.5553 GB, free: 7.523 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.606, allocations: 4 kB / 0.5553 GB, free: 7.52 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.606, allocations: 3.938 kB / 0.5553 GB, free: 7.516 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.6062, allocations: 159.4 kB / 0.5554 GB, free: 7.344 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.6063, allocations: 89 kB / 0.5555 GB, free: 7.238 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.6063, allocations: 4 kB / 0.5555 GB, free: 7.234 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.6064, allocations: 8 kB / 0.5555 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.6065, allocations: 7.984 kB / 0.5555 GB, free: 7.219 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.6065, allocations: 0 / 0.5555 GB, free: 7.219 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.6066, allocations: 110.9 kB / 0.5557 GB, free: 7.113 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6066, allocations: 0 / 0.5557 GB, free: 7.113 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003362/0.607, allocations: 23.88 kB / 0.5557 GB, free: 7.09 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.0009976/0.608, allocations: 344.8 kB / 0.556 GB, free: 6.785 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.6082, allocations: 24 kB / 0.556 GB, free: 6.762 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.187e-06/0.6082, allocations: 7.938 kB / 0.556 GB, free: 6.754 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.426e-05/0.6082, allocations: 12 kB / 0.556 GB, free: 6.742 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.6086, allocations: 27.17 kB / 0.5561 GB, free: 6.719 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.609, allocations: 129.5 kB / 0.5562 GB, free: 6.562 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.6093, allocations: 0.6963 MB / 0.5569 GB, free: 5.84 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/0.6094, allocations: 15.42 kB / 0.5569 GB, free: 5.824 MB / 395.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6094, allocations: 0 / 0.5569 GB, free: 5.824 MB / 395.1 MB Notification: Performance of Templates: time 0.004405/0.6138, allocations: 1.362 MB / 0.5582 GB, free: 4.469 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches