Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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) 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(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002493/0.002493, allocations: 176.2 kB / 8.151 MB, free: 2.215 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.623/1.623, allocations: 205.2 MB / 213.8 MB, free: 13.88 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.00136/0.00136, allocations: 95.64 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.907e-06/8.987e-06, allocations: 0 / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2398, allocations: 47.56 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.3785, allocations: 89.49 MB / 451.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/0.379, allocations: 80.45 kB / 451.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.4462/0.8252, allocations: 62.72 MB / 0.5021 GB, free: 88.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002752/0.8255, allocations: 69.77 kB / 0.5021 GB, free: 88.21 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008403/0.834, allocations: 2.271 MB / 0.5044 GB, free: 87.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.834, allocations: 7.75 kB / 0.5044 GB, free: 87.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.836, allocations: 318.7 kB / 0.5047 GB, free: 87.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005128/0.8411, allocations: 1.582 MB / 0.5062 GB, free: 86.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.8413, allocations: 66.69 kB / 0.5063 GB, free: 86.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008721/0.8422, allocations: 130.8 kB / 0.5064 GB, free: 86.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007494/0.8497, allocations: 2.387 MB / 0.5087 GB, free: 86.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0092/0.859, allocations: 2.772 MB / 0.5114 GB, free: 86.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.998e-05/0.8591, allocations: 7.094 kB / 0.5115 GB, free: 86.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003797/0.8595, allocations: 3.781 kB / 0.5115 GB, free: 86.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.8596, allocations: 110.7 kB / 0.5116 GB, free: 86.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/0.8838, allocations: 8.547 MB / 0.5199 GB, free: 84.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004107/0.888, allocations: 1.676 MB / 0.5215 GB, free: 84.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003409/0.8914, allocations: 1.419 MB / 0.5229 GB, free: 84.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004705/0.892, allocations: 129.5 kB / 0.5231 GB, free: 84.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.892, allocations: 54.81 kB / 0.5231 GB, free: 84.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 4.038e-06/0.892, allocations: 0 / 0.5231 GB, free: 84.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.01243/0.9045, allocations: 4.017 MB / 0.527 GB, free: 83.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.9046, allocations: 66.91 kB / 0.5271 GB, free: 83.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002635/0.9072, allocations: 1.082 MB / 0.5281 GB, free: 83.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002994/0.9076, allocations: 31.2 kB / 0.5282 GB, free: 83.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.9079, allocations: 0.7477 MB / 0.5289 GB, free: 83.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006297/0.9086, allocations: 426.1 kB / 0.5293 GB, free: 82.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.9087, allocations: 0 / 0.5293 GB, free: 82.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9088, allocations: 360.7 kB / 0.5297 GB, free: 82.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.9104, allocations: 0.6728 MB / 0.5303 GB, free: 82.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.9123, allocations: 0.8327 MB / 0.5311 GB, free: 81.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.9143, allocations: 0.8011 MB / 0.5319 GB, free: 81.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.9143, allocations: 0 / 0.5319 GB, free: 81.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005689/0.92, allocations: 2.103 MB / 0.534 GB, free: 80.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.9201, allocations: 7.531 kB / 0.534 GB, free: 80.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.9201, allocations: 7.875 kB / 0.534 GB, free: 80.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/0.9227, allocations: 0.6747 MB / 0.5346 GB, free: 80.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/0.9246, allocations: 218.1 kB / 0.5348 GB, free: 80.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/0.9405, allocations: 9.881 MB / 0.5445 GB, free: 73.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.9416, allocations: 26.28 kB / 0.5445 GB, free: 73.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.9418, allocations: 39.19 kB / 0.5446 GB, free: 73.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,55.6%) 25} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003402/0.9421, allocations: 55.09 kB / 0.5446 GB, free: 73.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000545/0.9427, allocations: 150.5 kB / 0.5448 GB, free: 73.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005567/0.9483, allocations: 2.067 MB / 0.5468 GB, free: 72.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.9483, allocations: 10.97 kB / 0.5468 GB, free: 72.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/0.9484, allocations: 3.969 kB / 0.5468 GB, free: 72.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/0.9484, allocations: 7.594 kB / 0.5468 GB, free: 72.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.9604, allocations: 4.281 MB / 0.551 GB, free: 71.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.9604, allocations: 3.344 kB / 0.551 GB, free: 71.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/0.9621, allocations: 163.5 kB / 0.5511 GB, free: 71.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003117/0.9652, allocations: 0.6938 MB / 0.5518 GB, free: 70.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002535/0.9656, allocations: 12.45 kB / 0.5518 GB, free: 70.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01629/0.9818, allocations: 9.778 MB / 0.5614 GB, free: 63.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.9819, allocations: 1.156 kB / 0.5614 GB, free: 63.89 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008539/0.9905, allocations: 3.204 MB / 0.5645 GB, free: 62.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/0.992, allocations: 387.8 kB / 0.5649 GB, free: 62.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005019/0.9925, allocations: 7.812 kB / 0.5649 GB, free: 62.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.9942, allocations: 51.23 kB / 0.5649 GB, free: 62.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/0.9946, allocations: 80 kB / 0.565 GB, free: 62.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.9947, allocations: 32.44 kB / 0.565 GB, free: 62.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002072/0.9968, allocations: 0.836 MB / 0.5659 GB, free: 61.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002991/0.9998, allocations: 463.6 kB / 0.5663 GB, free: 61.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006782/1.001, allocations: 178.3 kB / 0.5665 GB, free: 61.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005623/1.006, allocations: 2.192 MB / 0.5686 GB, free: 60.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/1.006, allocations: 1.188 kB / 0.5686 GB, free: 60.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003798/1.01, allocations: 1.434 MB / 0.57 GB, free: 59.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/1.013, allocations: 322 kB / 0.5703 GB, free: 59.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.026, allocations: 3.719 MB / 0.5739 GB, free: 56.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003344/1.029, allocations: 2.11 MB / 0.576 GB, free: 54.54 MB / 394.7 MB Notification: Performance of SimCode: time 3.266e-06/1.029, allocations: 0 / 0.576 GB, free: 54.54 MB / 394.7 MB Notification: Performance of Templates: time 0.1088/1.138, allocations: 69.11 MB / 0.6435 GB, free: 7.438 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches