Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00202/0.00202, 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.114/2.114, 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.001085/0.001085, allocations: 94.55 kB / 262.1 MB, free: 13.85 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.2938/0.2938, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.746e-05, allocations: 4.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3963, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.577, allocations: 85.68 MB / 0.5496 GB, free: 13.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.5773, allocations: 63.97 kB / 0.5496 GB, free: 13.56 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01707/0.5944, allocations: 3.892 MB / 0.5534 GB, free: 9.668 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5945, allocations: 0 / 0.5534 GB, free: 9.668 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.5945, allocations: 4 kB / 0.5534 GB, free: 9.664 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004828/0.595, allocations: 366.3 kB / 0.5538 GB, free: 9.262 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.5951, allocations: 12.03 kB / 0.5538 GB, free: 9.25 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.5951, allocations: 19.84 kB / 0.5538 GB, free: 9.23 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.5954, allocations: 194.9 kB / 0.554 GB, free: 9 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.5955, allocations: 0 / 0.554 GB, free: 9 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.5955, allocations: 8 kB / 0.554 GB, free: 8.992 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001089/0.5956, allocations: 19.98 kB / 0.554 GB, free: 8.973 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.5958, allocations: 45.69 kB / 0.5541 GB, free: 8.922 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5958, allocations: 4 kB / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5958, allocations: 7.875 kB / 0.5541 GB, free: 8.91 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.5958, allocations: 0 / 0.5541 GB, free: 8.91 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.5963, allocations: 269.3 kB / 0.5543 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.5964, allocations: 42.58 kB / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.5965, allocations: 16.98 kB / 0.5544 GB, free: 8.539 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.5965, allocations: 3.984 kB / 0.5544 GB, free: 8.535 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.5966, allocations: 30.56 kB / 0.5544 GB, free: 8.496 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.5966, allocations: 0 / 0.5544 GB, free: 8.496 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006122/0.5972, allocations: 145.3 kB / 0.5546 GB, free: 8.348 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.5973, allocations: 51.41 kB / 0.5546 GB, free: 8.285 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.5975, allocations: 135.9 kB / 0.5547 GB, free: 8.145 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.5975, allocations: 25.7 kB / 0.5548 GB, free: 8.113 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.5976, allocations: 162.6 kB / 0.5549 GB, free: 7.953 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.5977, allocations: 27.55 kB / 0.555 GB, free: 7.926 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.5977, allocations: 0 / 0.555 GB, free: 7.926 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5978, allocations: 315 kB / 0.5553 GB, free: 7.609 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.5979, allocations: 12 kB / 0.5553 GB, free: 7.598 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.598, allocations: 16 kB / 0.5553 GB, free: 7.582 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.128e-05/0.598, allocations: 23.92 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.598, allocations: 0 / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001728/0.5982, allocations: 65.69 kB / 0.5554 GB, free: 7.488 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.5983, allocations: 4 kB / 0.5554 GB, free: 7.484 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5983, allocations: 0 / 0.5554 GB, free: 7.484 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5983, allocations: 0 / 0.5554 GB, free: 7.484 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.5985, allocations: 23.98 kB / 0.5554 GB, free: 7.461 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5985, allocations: 0 / 0.5554 GB, free: 7.461 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.905e-05/0.5986, allocations: 11.95 kB / 0.5554 GB, free: 7.449 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.5986, allocations: 4.312 kB / 0.5554 GB, free: 7.445 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 (8): * Single equations (assignments): 8 * 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.953e-05/0.5987, allocations: 112.9 kB / 0.5555 GB, free: 7.328 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.5988, allocations: 7.906 kB / 0.5555 GB, free: 7.32 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.5991, allocations: 94.27 kB / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5991, allocations: 0 / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.5991, allocations: 0 / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.5991, allocations: 8 kB / 0.5556 GB, free: 7.219 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.5997, allocations: 342.9 kB / 0.5559 GB, free: 6.84 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5997, allocations: 3.938 kB / 0.5559 GB, free: 6.836 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.5999, allocations: 20 kB / 0.556 GB, free: 6.816 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.5999, allocations: 3.984 kB / 0.556 GB, free: 6.812 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.5999, allocations: 0 / 0.556 GB, free: 6.812 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.5999, allocations: 192 / 0.556 GB, free: 6.812 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5999, allocations: 4 kB / 0.556 GB, free: 6.809 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.6002, allocations: 175.4 kB / 0.5561 GB, free: 6.621 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.6003, allocations: 92.94 kB / 0.5562 GB, free: 6.512 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.6003, allocations: 0 / 0.5562 GB, free: 6.512 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6004, allocations: 4 kB / 0.5562 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.6005, allocations: 11.92 kB / 0.5562 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.6005, allocations: 8 kB / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.6006, allocations: 115.2 kB / 0.5564 GB, free: 6.375 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6006, allocations: 0 / 0.5564 GB, free: 6.375 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.601, allocations: 23.94 kB / 0.5564 GB, free: 6.352 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 (8): * Single equations (assignments): 8 * 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.001008/0.602, allocations: 334.2 kB / 0.5567 GB, free: 6.059 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.6022, allocations: 36 kB / 0.5567 GB, free: 6.023 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6022, allocations: 7.938 kB / 0.5567 GB, free: 6.016 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.405e-05/0.6023, allocations: 20 kB / 0.5568 GB, free: 5.996 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.6027, allocations: 23.58 kB / 0.5568 GB, free: 5.977 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.6031, allocations: 153.8 kB / 0.5569 GB, free: 5.797 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.6035, allocations: 0.7079 MB / 0.5576 GB, free: 5.062 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.6035, allocations: 11.44 kB / 0.5576 GB, free: 5.051 MB / 395.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6036, allocations: 0 / 0.5576 GB, free: 5.051 MB / 395.1 MB Notification: Performance of Templates: time 0.004701/0.6083, allocations: 1.564 MB / 0.5592 GB, free: 3.492 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches