Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009762/0.0009765, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000867/0.0008671, allocations: 92.05 kB / 261.8 MB, free: 1.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3109/0.3109, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.764e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 58.85 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4847/0.6039, allocations: 85.59 MB / 0.5495 GB, free: 9.051 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.6042, allocations: 74.42 kB / 0.5496 GB, free: 9.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008106/0.6124, allocations: 3.506 MB / 0.553 GB, free: 6.258 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.6124, allocations: 0 / 0.553 GB, free: 6.258 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.6124, allocations: 4 kB / 0.553 GB, free: 6.254 MB / 362.7 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.0002981/0.6127, allocations: 361.2 kB / 0.5534 GB, free: 5.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.6128, allocations: 12.03 kB / 0.5534 GB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.6128, allocations: 15.72 kB / 0.5534 GB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.613, allocations: 195.7 kB / 0.5536 GB, free: 5.613 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.613, allocations: 0 / 0.5536 GB, free: 5.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.6131, allocations: 4 kB / 0.5536 GB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.333e-05/0.6131, allocations: 11.19 kB / 0.5536 GB, free: 5.602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.346e-05/0.6132, allocations: 36.88 kB / 0.5536 GB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6132, allocations: 0 / 0.5536 GB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.6133, allocations: 8 kB / 0.5536 GB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.6133, allocations: 0 / 0.5536 GB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.6136, allocations: 251.9 kB / 0.5539 GB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.6138, allocations: 33.88 kB / 0.5539 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.6138, allocations: 8.859 kB / 0.5539 GB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.6138, allocations: 7.188 kB / 0.5539 GB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.6139, allocations: 34.56 kB / 0.5539 GB, free: 5.188 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.6139, allocations: 0 / 0.5539 GB, free: 5.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003894/0.6143, allocations: 98.44 kB / 0.554 GB, free: 5.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.6143, allocations: 54.34 kB / 0.5541 GB, free: 5.031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.996e-05/0.6144, allocations: 129.3 kB / 0.5542 GB, free: 4.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.6144, allocations: 25.7 kB / 0.5542 GB, free: 4.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.6145, allocations: 96.02 kB / 0.5543 GB, free: 4.785 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.6145, allocations: 19.64 kB / 0.5543 GB, free: 4.766 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.6145, allocations: 0 / 0.5543 GB, free: 4.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.6146, allocations: 322.4 kB / 0.5547 GB, free: 4.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.6146, allocations: 7.5 kB / 0.5547 GB, free: 4.441 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.404e-05/0.6146, allocations: 6.938 kB / 0.5547 GB, free: 4.438 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.6146, allocations: 11.23 kB / 0.5547 GB, free: 4.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.6146, allocations: 4.844 kB / 0.5547 GB, free: 4.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.184e-05/0.6147, allocations: 52.77 kB / 0.5547 GB, free: 4.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6148, allocations: 8 kB / 0.5547 GB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6148, allocations: 7.984 kB / 0.5548 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6148, allocations: 256 / 0.5548 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.6149, allocations: 12 kB / 0.5548 GB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.6149, allocations: 4 kB / 0.5548 GB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.6149, allocations: 7.984 kB / 0.5548 GB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.6149, allocations: 0 / 0.5548 GB, free: 4.336 MB / 362.7 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 4.958e-05/0.615, allocations: 119.7 kB / 0.5549 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.615, allocations: 3.906 kB / 0.5549 GB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.6151, allocations: 75.86 kB / 0.555 GB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6152, allocations: 0 / 0.555 GB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6152, allocations: 4 kB / 0.555 GB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.6152, allocations: 0 / 0.555 GB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.6154, allocations: 293.4 kB / 0.5552 GB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6154, allocations: 4 kB / 0.5553 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.6155, allocations: 15.98 kB / 0.5553 GB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.6155, allocations: 0 / 0.5553 GB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.6155, allocations: 4 kB / 0.5553 GB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6155, allocations: 0 / 0.5553 GB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6155, allocations: 0 / 0.5553 GB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.6157, allocations: 161.7 kB / 0.5554 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.6157, allocations: 81.11 kB / 0.5555 GB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.6157, allocations: 3.984 kB / 0.5555 GB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.6158, allocations: 12 kB / 0.5555 GB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.6159, allocations: 7.984 kB / 0.5555 GB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.6159, allocations: 0 / 0.5555 GB, free: 3.523 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.003e-05/0.6159, allocations: 103.9 kB / 0.5556 GB, free: 3.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.6159, allocations: 0 / 0.5556 GB, free: 3.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.6162, allocations: 27.86 kB / 0.5557 GB, free: 3.406 MB / 362.7 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.0008545/0.617, allocations: 334.8 kB / 0.556 GB, free: 3.125 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.6172, allocations: 30.38 kB / 0.556 GB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6172, allocations: 0 / 0.556 GB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.902e-05/0.6172, allocations: 14.44 kB / 0.556 GB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.6175, allocations: 14.94 kB / 0.556 GB, free: 3.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.6178, allocations: 105.6 kB / 0.5561 GB, free: 2.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.6179, allocations: 0.6963 MB / 0.5568 GB, free: 2.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.618, allocations: 12.17 kB / 0.5568 GB, free: 2.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.6181, allocations: 11.44 kB / 0.5568 GB, free: 2.215 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6181, allocations: 0 / 0.5568 GB, free: 2.215 MB / 362.7 MB Notification: Performance of Templates: time 0.003388/0.6215, allocations: 0.9961 MB / 0.5578 GB, free: 1.238 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/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_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches