Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [: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 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 183.8 kB / 8.134 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 221.4 MB / 229.9 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009224, allocations: 91.41 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.252e-06, allocations: 0 / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1838, allocations: 50.39 MB / 386.9 MB, free: 38.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08654/0.2704, allocations: 85.9 MB / 472.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.2706, allocations: 81.03 kB / 472.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.07756/0.3482, allocations: 32.33 MB / 0.4934 GB, free: 396 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001016/0.3483, allocations: 51.94 kB / 0.4934 GB, free: 344 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.1485/0.4968, allocations: 1.97 MB / 0.4953 GB, free: 63.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.4968, allocations: 7.281 kB / 0.4953 GB, free: 63.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004379/0.4973, allocations: 235.6 kB / 0.4956 GB, free: 63.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.4991, allocations: 1.234 MB / 0.4968 GB, free: 62.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.4992, allocations: 65.72 kB / 0.4968 GB, free: 62.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.4994, allocations: 116.5 kB / 0.497 GB, free: 62.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002614/0.502, allocations: 1.796 MB / 0.4987 GB, free: 62.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.505, allocations: 2.266 MB / 0.5009 GB, free: 62.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.505, allocations: 0 / 0.5009 GB, free: 62.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.5052, allocations: 7.875 kB / 0.5009 GB, free: 62.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.5052, allocations: 51.59 kB / 0.501 GB, free: 62.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00914/0.5144, allocations: 7.172 MB / 0.508 GB, free: 60.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/0.5151, allocations: 0.6221 MB / 0.5086 GB, free: 60.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.5165, allocations: 1.148 MB / 0.5097 GB, free: 60.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.89e-05/0.5165, allocations: 17.66 kB / 0.5097 GB, free: 60.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.5166, allocations: 47.28 kB / 0.5098 GB, free: 60.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.457e-06/0.5166, allocations: 0 / 0.5098 GB, free: 60.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.00375/0.5203, allocations: 2.861 MB / 0.5126 GB, free: 60.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.5204, allocations: 62.22 kB / 0.5126 GB, free: 60.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007056/0.5211, allocations: 0.6925 MB / 0.5133 GB, free: 59.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.5211, allocations: 25.7 kB / 0.5133 GB, free: 59.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.5214, allocations: 0.7167 MB / 0.514 GB, free: 59.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.5215, allocations: 310.1 kB / 0.5143 GB, free: 59.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.5216, allocations: 0 / 0.5143 GB, free: 59.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.5217, allocations: 351.9 kB / 0.5147 GB, free: 58.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.5222, allocations: 481.7 kB / 0.5151 GB, free: 58.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.5228, allocations: 0.6523 MB / 0.5158 GB, free: 58.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/0.5234, allocations: 0.5482 MB / 0.5163 GB, free: 58.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5234, allocations: 3.656 kB / 0.5163 GB, free: 58.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001907/0.5254, allocations: 1.536 MB / 0.5178 GB, free: 58.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5254, allocations: 9.469 kB / 0.5178 GB, free: 58.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.5254, allocations: 5.906 kB / 0.5178 GB, free: 58.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009398/0.5264, allocations: 467.4 kB / 0.5183 GB, free: 58.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.5271, allocations: 185.6 kB / 0.5184 GB, free: 58.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00691/0.534, allocations: 7.953 MB / 0.5262 GB, free: 53.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.5351, allocations: 22.89 kB / 0.5262 GB, free: 53.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.5352, allocations: 34.84 kB / 0.5263 GB, free: 53.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002518/0.5355, allocations: 131.4 kB / 0.5264 GB, free: 53.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.5357, allocations: 102.1 kB / 0.5265 GB, free: 53.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.5382, allocations: 1.444 MB / 0.5279 GB, free: 53.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.5383, allocations: 9.469 kB / 0.5279 GB, free: 53.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5383, allocations: 4.5 kB / 0.5279 GB, free: 53.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.5383, allocations: 12.05 kB / 0.5279 GB, free: 53.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004744/0.543, allocations: 3.18 MB / 0.531 GB, free: 51.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.5431, allocations: 4 kB / 0.531 GB, free: 51.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/0.5437, allocations: 127.3 kB / 0.5311 GB, free: 51.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008513/0.5446, allocations: 452.1 kB / 0.5316 GB, free: 51.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.5446, allocations: 14.92 kB / 0.5316 GB, free: 51.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005458/0.5501, allocations: 7.854 MB / 0.5393 GB, free: 44.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.5501, allocations: 4 kB / 0.5393 GB, free: 44.53 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002511/0.5526, allocations: 2.263 MB / 0.5415 GB, free: 43.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.5531, allocations: 276.6 kB / 0.5417 GB, free: 42.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.5533, allocations: 7.516 kB / 0.5417 GB, free: 42.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.5537, allocations: 27.27 kB / 0.5418 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.5539, allocations: 59.94 kB / 0.5418 GB, free: 42.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.554, allocations: 28.12 kB / 0.5418 GB, free: 42.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006015/0.5546, allocations: 0.5454 MB / 0.5424 GB, free: 42.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001427/0.556, allocations: 352.6 kB / 0.5427 GB, free: 42.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002702/0.5563, allocations: 146.6 kB / 0.5429 GB, free: 42.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.5582, allocations: 1.696 MB / 0.5445 GB, free: 40.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5582, allocations: 0 / 0.5445 GB, free: 40.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.5594, allocations: 1.143 MB / 0.5456 GB, free: 39.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.5606, allocations: 234.9 kB / 0.5459 GB, free: 39.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.566, allocations: 2.867 MB / 0.5487 GB, free: 37.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.5672, allocations: 1.795 MB / 0.5504 GB, free: 36.33 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5672, allocations: 0 / 0.5504 GB, free: 36.33 MB / 378.7 MB Notification: Performance of Templates: time 0.02508/0.5923, allocations: 17.44 MB / 0.5674 GB, free: 22.62 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches