Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001477, 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.076/2.076, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001103/0.001103, allocations: 100.3 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.2922/0.2922, allocations: 43.48 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.81e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4026, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.5648, allocations: 85.6 MB / 0.5495 GB, free: 13.72 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.5652, allocations: 75.25 kB / 0.5496 GB, free: 13.65 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01581/0.581, allocations: 3.568 MB / 0.553 GB, free: 10.08 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5811, allocations: 4 kB / 0.553 GB, free: 10.08 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.5811, allocations: 8 kB / 0.5531 GB, free: 10.07 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.0004879/0.5816, allocations: 374.2 kB / 0.5534 GB, free: 9.66 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5816, allocations: 8.031 kB / 0.5534 GB, free: 9.652 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.5817, allocations: 7.906 kB / 0.5534 GB, free: 9.645 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.582, allocations: 198.8 kB / 0.5536 GB, free: 9.41 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.5821, allocations: 0 / 0.5536 GB, free: 9.41 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.5821, allocations: 0 / 0.5536 GB, free: 9.41 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.858e-05/0.5822, allocations: 12 kB / 0.5536 GB, free: 9.398 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.5823, allocations: 49.62 kB / 0.5537 GB, free: 9.344 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.5823, allocations: 3.984 kB / 0.5537 GB, free: 9.34 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5824, allocations: 0 / 0.5537 GB, free: 9.34 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.5824, allocations: 0 / 0.5537 GB, free: 9.34 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.5828, allocations: 249.5 kB / 0.5539 GB, free: 9.059 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.583, allocations: 38.56 kB / 0.554 GB, free: 9.012 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.5831, allocations: 8.859 kB / 0.554 GB, free: 9 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.5831, allocations: 4 kB / 0.554 GB, free: 8.996 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.5832, allocations: 38.5 kB / 0.554 GB, free: 8.949 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.5832, allocations: 0 / 0.554 GB, free: 8.949 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005059/0.5837, allocations: 97.45 kB / 0.5541 GB, free: 8.848 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.5837, allocations: 59.36 kB / 0.5542 GB, free: 8.777 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.584, allocations: 144.4 kB / 0.5543 GB, free: 8.633 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.584, allocations: 25.7 kB / 0.5543 GB, free: 8.602 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.5841, allocations: 178.4 kB / 0.5545 GB, free: 8.426 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.5842, allocations: 15.72 kB / 0.5545 GB, free: 8.41 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.5842, allocations: 0 / 0.5545 GB, free: 8.41 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5843, allocations: 318.8 kB / 0.5548 GB, free: 8.09 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.5844, allocations: 8 kB / 0.5548 GB, free: 8.082 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/0.5844, allocations: 4 kB / 0.5548 GB, free: 8.078 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.5845, allocations: 12.17 kB / 0.5548 GB, free: 8.066 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5845, allocations: 4 kB / 0.5548 GB, free: 8.062 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001375/0.5846, allocations: 57.7 kB / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5847, allocations: 4 kB / 0.5549 GB, free: 7.996 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5847, allocations: 0 / 0.5549 GB, free: 7.996 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5847, allocations: 0 / 0.5549 GB, free: 7.996 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.5848, allocations: 15.98 kB / 0.5549 GB, free: 7.98 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.5849, allocations: 3.953 kB / 0.5549 GB, free: 7.977 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.848e-05/0.585, allocations: 7.984 kB / 0.5549 GB, free: 7.969 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.585, allocations: 8 kB / 0.5549 GB, free: 7.961 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.994e-05/0.5851, allocations: 105 kB / 0.555 GB, free: 7.852 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.5851, allocations: 7.906 kB / 0.555 GB, free: 7.844 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.5854, allocations: 66.09 kB / 0.5551 GB, free: 7.777 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5854, allocations: 0 / 0.5551 GB, free: 7.777 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5854, allocations: 3.984 kB / 0.5551 GB, free: 7.773 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5854, allocations: 3.953 kB / 0.5551 GB, free: 7.77 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.5859, allocations: 311.1 kB / 0.5554 GB, free: 7.422 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5859, allocations: 0 / 0.5554 GB, free: 7.422 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.586, allocations: 12 kB / 0.5554 GB, free: 7.41 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5861, allocations: 0 / 0.5554 GB, free: 7.41 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.5861, allocations: 4 kB / 0.5554 GB, free: 7.406 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.5861, allocations: 0 / 0.5554 GB, free: 7.406 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.5861, allocations: 7.938 kB / 0.5554 GB, free: 7.398 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.5863, allocations: 147.5 kB / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.769e-05/0.5864, allocations: 97.25 kB / 0.5557 GB, free: 7.125 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.5864, allocations: 0 / 0.5557 GB, free: 7.125 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.5866, allocations: 16 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.5866, allocations: 7.938 kB / 0.5557 GB, free: 7.102 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.5866, allocations: 0 / 0.5557 GB, free: 7.102 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.5868, allocations: 119.3 kB / 0.5558 GB, free: 6.984 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5868, allocations: 3.938 kB / 0.5558 GB, free: 6.98 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.5872, allocations: 27.92 kB / 0.5558 GB, free: 6.953 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.001005/0.5882, allocations: 331.7 kB / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.5884, allocations: 27.98 kB / 0.5562 GB, free: 6.637 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.5884, allocations: 4 kB / 0.5562 GB, free: 6.633 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.5884, allocations: 15.94 kB / 0.5562 GB, free: 6.617 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.5888, allocations: 15.23 kB / 0.5562 GB, free: 6.605 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.5893, allocations: 150.4 kB / 0.5563 GB, free: 6.43 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.5896, allocations: 0.708 MB / 0.557 GB, free: 5.695 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.5897, allocations: 15.42 kB / 0.557 GB, free: 5.68 MB / 395.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5897, allocations: 0 / 0.557 GB, free: 5.68 MB / 395.1 MB Notification: Performance of Templates: time 0.004766/0.5945, allocations: 1.439 MB / 0.5585 GB, free: 4.246 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches