Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 181 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.001006/0.001006, allocations: 95.33 kB / 271.9 MB, free: 8.234 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.544/0.544, allocations: 43.56 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006513/0.0006514, allocations: 8 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2036, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5345/0.7382, allocations: 89.64 MB / 0.5675 GB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/0.7386, allocations: 63.97 kB / 0.5675 GB, free: 12.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03799/0.7766, allocations: 8.905 MB / 0.5762 GB, free: 3.836 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.7767, allocations: 0 / 0.5762 GB, free: 3.836 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.072e-05/0.7767, allocations: 8 kB / 0.5762 GB, free: 3.828 MB / 394.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.001876/0.7786, allocations: 0.6897 MB / 0.5769 GB, free: 3.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.492e-05/0.7787, allocations: 12.03 kB / 0.5769 GB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.779, allocations: 48.38 kB / 0.577 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007399/0.7797, allocations: 321.3 kB / 0.5773 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.7798, allocations: 33.38 kB / 0.5773 GB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.7799, allocations: 44.38 kB / 0.5773 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.7813, allocations: 471.5 kB / 0.5778 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.7813, allocations: 192 / 0.5778 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.05e-05/0.7814, allocations: 23.94 kB / 0.5778 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.7815, allocations: 12 kB / 0.5778 GB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.7827, allocations: 335.8 kB / 0.5781 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.7868, allocations: 1.71 MB / 0.5798 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008815/0.7877, allocations: 250.1 kB / 0.58 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005048/0.7882, allocations: 137.6 kB / 0.5802 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.7883, allocations: 4 kB / 0.5802 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.7884, allocations: 42.55 kB / 0.5802 GB, free: 15.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 5.58e-06/0.7884, allocations: 0 / 0.5802 GB, free: 15.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.004367/0.7928, allocations: 1.269 MB / 0.5815 GB, free: 14.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.7929, allocations: 81.11 kB / 0.5815 GB, free: 14.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.7934, allocations: 254.6 kB / 0.5818 GB, free: 13.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.7934, allocations: 37.64 kB / 0.5818 GB, free: 13.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.7937, allocations: 255.4 kB / 0.5821 GB, free: 13.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.7938, allocations: 122.3 kB / 0.5822 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.7939, allocations: 8 kB / 0.5822 GB, free: 13.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.7941, allocations: 338.8 kB / 0.5825 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.7945, allocations: 112.8 kB / 0.5826 GB, free: 12.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.7951, allocations: 214.9 kB / 0.5828 GB, free: 12.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009938/0.7961, allocations: 338.7 kB / 0.5831 GB, free: 12.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.7961, allocations: 4 kB / 0.5832 GB, free: 12.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001418/0.7976, allocations: 404 kB / 0.5835 GB, free: 11.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.7976, allocations: 8 kB / 0.5835 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.7976, allocations: 4 kB / 0.5835 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.7979, allocations: 41 kB / 0.5836 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.7987, allocations: 123.9 kB / 0.5837 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.8004, allocations: 1.331 MB / 0.585 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.8008, allocations: 23.98 kB / 0.585 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.8009, allocations: 20 kB / 0.585 GB, free: 10.18 MB / 410.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 (50): * Single equations (assignments): 49 * 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.0003644/0.8013, allocations: 165.7 kB / 0.5852 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.8014, allocations: 31.56 kB / 0.5852 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.8015, allocations: 42.23 kB / 0.5853 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.8016, allocations: 4 kB / 0.5853 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.8016, allocations: 0 / 0.5853 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.8016, allocations: 4.125 kB / 0.5853 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.8035, allocations: 0.7219 MB / 0.586 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.8035, allocations: 7.984 kB / 0.586 GB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/0.8042, allocations: 91.88 kB / 0.5861 GB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.8044, allocations: 28.84 kB / 0.5861 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.8044, allocations: 12.05 kB / 0.5861 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.806, allocations: 1.323 MB / 0.5874 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.8061, allocations: 4.031 kB / 0.5874 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.8077, allocations: 0.6176 MB / 0.588 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.8079, allocations: 124.8 kB / 0.5881 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.808, allocations: 4 kB / 0.5881 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.8085, allocations: 27.98 kB / 0.5882 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/0.8086, allocations: 27.89 kB / 0.5882 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.8086, allocations: 12 kB / 0.5882 GB, free: 6.688 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003412/0.809, allocations: 178 kB / 0.5884 GB, free: 6.516 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.809, allocations: 0 / 0.5884 GB, free: 6.516 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008713/0.8099, allocations: 92 kB / 0.5885 GB, free: 6.426 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * 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 (32): * Single equations (assignments): 31 * 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.0002698/0.8102, allocations: 119.1 kB / 0.5886 GB, free: 6.301 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.8116, allocations: 413.2 kB / 0.589 GB, free: 5.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8116, allocations: 0 / 0.589 GB, free: 5.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006243/0.8123, allocations: 262.4 kB / 0.5892 GB, free: 5.621 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008751/0.8132, allocations: 43.45 kB / 0.5893 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.8159, allocations: 1.161 MB / 0.5904 GB, free: 4.371 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.8166, allocations: 0.8152 MB / 0.5912 GB, free: 3.527 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.8168, allocations: 27.44 kB / 0.5912 GB, free: 3.5 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.8168, allocations: 3.938 kB / 0.5912 GB, free: 3.496 MB / 410.7 MB Notification: Performance of Templates: time 0.02737/0.8442, allocations: 5.859 MB / 0.5969 GB, free: 13.65 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches