Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 180.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008787/0.0008786, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2438/0.2438, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1598, allocations: 58.84 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5245/0.6844, allocations: 89.6 MB / 0.5662 GB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/0.6848, allocations: 67.53 kB / 0.5663 GB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02503/0.7099, allocations: 8.902 MB / 0.575 GB, free: 2.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7099, allocations: 0 / 0.575 GB, free: 2.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.7099, allocations: 8 kB / 0.575 GB, free: 2.703 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001232/0.7112, allocations: 0.6935 MB / 0.5757 GB, free: 1.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.7112, allocations: 12.03 kB / 0.5757 GB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.7113, allocations: 55.3 kB / 0.5757 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.7118, allocations: 306.4 kB / 0.576 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.7118, allocations: 36.56 kB / 0.5761 GB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.7119, allocations: 46.94 kB / 0.5761 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/0.7128, allocations: 463.2 kB / 0.5766 GB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.7128, allocations: 0 / 0.5766 GB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.7128, allocations: 18.88 kB / 0.5766 GB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.7129, allocations: 12 kB / 0.5766 GB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.7136, allocations: 336.1 kB / 0.5769 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.7163, allocations: 1.712 MB / 0.5786 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.7169, allocations: 242.6 kB / 0.5788 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.7169, allocations: 4 kB / 0.5788 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.717, allocations: 46 kB / 0.5789 GB, free: 15.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/0.717, allocations: 0 / 0.5789 GB, free: 15.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.003/0.72, allocations: 1.227 MB / 0.5801 GB, free: 14.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.7201, allocations: 85.09 kB / 0.5801 GB, free: 13.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.7204, allocations: 239.7 kB / 0.5804 GB, free: 13.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.7204, allocations: 29.27 kB / 0.5804 GB, free: 13.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.7206, allocations: 258.3 kB / 0.5806 GB, free: 13.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.938e-05/0.7207, allocations: 110.6 kB / 0.5808 GB, free: 13.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.7207, allocations: 6.875 kB / 0.5808 GB, free: 13.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.721, allocations: 340.4 kB / 0.5811 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.7212, allocations: 105.8 kB / 0.5812 GB, free: 13.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.7217, allocations: 223.2 kB / 0.5814 GB, free: 12.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.722, allocations: 128.9 kB / 0.5815 GB, free: 12.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.722, allocations: 4 kB / 0.5815 GB, free: 12.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008576/0.7229, allocations: 409.3 kB / 0.5819 GB, free: 12.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.7229, allocations: 8 kB / 0.5819 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.7229, allocations: 4 kB / 0.5819 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.7231, allocations: 28.81 kB / 0.582 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.7236, allocations: 127 kB / 0.5821 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.7249, allocations: 1.336 MB / 0.5834 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.7252, allocations: 23.02 kB / 0.5834 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.7253, allocations: 19.36 kB / 0.5834 GB, free: 10.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002994/0.7256, allocations: 165.2 kB / 0.5836 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.072e-05/0.7256, allocations: 31.61 kB / 0.5836 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.158e-05/0.7257, allocations: 40.17 kB / 0.5836 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.7257, allocations: 8.062 kB / 0.5837 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.7258, allocations: 3.938 kB / 0.5837 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.7258, allocations: 0 / 0.5837 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005807/0.7264, allocations: 422.1 kB / 0.5841 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.7264, allocations: 3.984 kB / 0.5841 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.7268, allocations: 91.56 kB / 0.5841 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.559e-05/0.7269, allocations: 24.59 kB / 0.5842 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.7269, allocations: 7.938 kB / 0.5842 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.728, allocations: 1.331 MB / 0.5855 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.728, allocations: 0 / 0.5855 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.729, allocations: 0.616 MB / 0.5861 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.7292, allocations: 123.6 kB / 0.5862 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.7292, allocations: 7.828 kB / 0.5862 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.7295, allocations: 19.8 kB / 0.5862 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.7296, allocations: 27.89 kB / 0.5863 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.7296, allocations: 8 kB / 0.5863 GB, free: 8.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001833/0.7298, allocations: 184.6 kB / 0.5864 GB, free: 7.875 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7298, allocations: 3.938 kB / 0.5864 GB, free: 7.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004467/0.7303, allocations: 91.31 kB / 0.5865 GB, free: 7.793 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001674/0.7304, allocations: 110.9 kB / 0.5866 GB, free: 7.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008426/0.7313, allocations: 403.6 kB / 0.587 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7313, allocations: 0 / 0.587 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.7317, allocations: 248.9 kB / 0.5873 GB, free: 7.125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.7321, allocations: 39.3 kB / 0.5873 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.7338, allocations: 1.121 MB / 0.5884 GB, free: 6.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.7343, allocations: 0.8191 MB / 0.5892 GB, free: 5.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.7345, allocations: 30.97 kB / 0.5892 GB, free: 5.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.7346, allocations: 27.44 kB / 0.5892 GB, free: 5.102 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7346, allocations: 0 / 0.5892 GB, free: 5.102 MB / 394.7 MB Notification: Performance of Templates: time 0.006477/0.7411, allocations: 2.757 MB / 0.5919 GB, free: 2.375 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches