Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 180.9 kB / 8.006 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.499/1.499, 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.0009154/0.0009155, allocations: 82.62 kB / 261.7 MB, free: 1.617 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.1958/0.1958, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.783e-05/1.785e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4136/0.5234, allocations: 85.69 MB / 0.5496 GB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.5236, allocations: 72.59 kB / 0.5497 GB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009232/0.5329, allocations: 4.195 MB / 0.5538 GB, free: 5.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5329, allocations: 0 / 0.5538 GB, free: 5.621 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.5329, allocations: 0 / 0.5538 GB, free: 5.621 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003101/0.5333, allocations: 393.2 kB / 0.5541 GB, free: 5.199 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.5333, allocations: 12.03 kB / 0.5542 GB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.5334, allocations: 11.81 kB / 0.5542 GB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.5336, allocations: 217.1 kB / 0.5544 GB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.5336, allocations: 0 / 0.5544 GB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.5336, allocations: 7.938 kB / 0.5544 GB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.398e-05/0.5337, allocations: 17.81 kB / 0.5544 GB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.171e-05/0.5338, allocations: 47.94 kB / 0.5544 GB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5338, allocations: 7.938 kB / 0.5545 GB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.5338, allocations: 0 / 0.5545 GB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5339, allocations: 3.984 kB / 0.5545 GB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.5342, allocations: 291 kB / 0.5547 GB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.187e-05/0.5342, allocations: 39.83 kB / 0.5548 GB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.5343, allocations: 20.28 kB / 0.5548 GB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.5343, allocations: 4 kB / 0.5548 GB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.5343, allocations: 38.5 kB / 0.5548 GB, free: 4.449 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.5343, allocations: 0 / 0.5548 GB, free: 4.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000414/0.5348, allocations: 129 kB / 0.555 GB, free: 4.336 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.5348, allocations: 51.41 kB / 0.555 GB, free: 4.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.5349, allocations: 200.7 kB / 0.5552 GB, free: 4.094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.535, allocations: 29.7 kB / 0.5552 GB, free: 4.059 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.535, allocations: 107.3 kB / 0.5553 GB, free: 3.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.535, allocations: 26.45 kB / 0.5554 GB, free: 3.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.5351, allocations: 0 / 0.5554 GB, free: 3.941 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.5351, allocations: 329.7 kB / 0.5557 GB, free: 3.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.527e-05/0.5352, allocations: 15.78 kB / 0.5557 GB, free: 3.609 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.5352, allocations: 11.81 kB / 0.5557 GB, free: 3.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.5352, allocations: 11.69 kB / 0.5557 GB, free: 3.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.5352, allocations: 0 / 0.5557 GB, free: 3.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.526e-05/0.5353, allocations: 87.25 kB / 0.5558 GB, free: 3.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.5353, allocations: 4 kB / 0.5558 GB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5354, allocations: 0 / 0.5558 GB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.5354, allocations: 4 kB / 0.5558 GB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.5355, allocations: 19.48 kB / 0.5558 GB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5355, allocations: 7.938 kB / 0.5558 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.439e-05/0.5355, allocations: 11.94 kB / 0.5558 GB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.5355, allocations: 320 / 0.5558 GB, free: 3.473 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 (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 4.766e-05/0.5356, allocations: 116.9 kB / 0.5559 GB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.5356, allocations: 7.906 kB / 0.556 GB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.5358, allocations: 98.16 kB / 0.556 GB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5358, allocations: 3.938 kB / 0.556 GB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5358, allocations: 0 / 0.556 GB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5358, allocations: 3.984 kB / 0.5561 GB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.5361, allocations: 366.8 kB / 0.5564 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5361, allocations: 4 kB / 0.5564 GB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.5362, allocations: 23.67 kB / 0.5564 GB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5362, allocations: 0 / 0.5564 GB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.5362, allocations: 0 / 0.5564 GB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5362, allocations: 0 / 0.5564 GB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5362, allocations: 0 / 0.5564 GB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.5364, allocations: 181.4 kB / 0.5566 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.5364, allocations: 96.56 kB / 0.5567 GB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.5364, allocations: 8 kB / 0.5567 GB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.5365, allocations: 4 kB / 0.5567 GB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.5365, allocations: 7.984 kB / 0.5567 GB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.5366, allocations: 0 / 0.5567 GB, free: 2.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.482e-05/0.5366, allocations: 167.3 kB / 0.5569 GB, free: 2.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5367, allocations: 0 / 0.5569 GB, free: 2.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.5369, allocations: 27.11 kB / 0.5569 GB, free: 2.395 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 (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.000695/0.5376, allocations: 340.9 kB / 0.5572 GB, free: 2.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.5377, allocations: 45.8 kB / 0.5573 GB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5377, allocations: 0 / 0.5573 GB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.5378, allocations: 22.19 kB / 0.5573 GB, free: 2.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.538, allocations: 11.42 kB / 0.5573 GB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.5383, allocations: 197.8 kB / 0.5575 GB, free: 1.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.5384, allocations: 0.7119 MB / 0.5582 GB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.636e-05/0.5385, allocations: 16.66 kB / 0.5582 GB, free: 1.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.5385, allocations: 15.42 kB / 0.5582 GB, free: 1.09 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5385, allocations: 0 / 0.5582 GB, free: 1.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003042/0.5416, allocations: 1.208 MB / 0.5594 GB, free: 15.9 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches