Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [: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.001644/0.001644, allocations: 179.8 kB / 8.152 MB, free: 2.188 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.618/1.618, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.00128/0.00128, allocations: 85.11 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.318e-06/9.397e-06, allocations: 0 / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2351, allocations: 47.55 MB / 361.9 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.3658, allocations: 83.22 MB / 445.1 MB, free: 2.844 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/0.3663, allocations: 87.95 kB / 445.2 MB, free: 2.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.09201/0.4583, allocations: 20.7 MB / 465.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000164/0.4585, allocations: 27.98 kB / 465.9 MB, free: 13.93 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005366/0.4639, allocations: 1.362 MB / 467.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.464, allocations: 12.03 kB / 467.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008935/0.4649, allocations: 158.1 kB / 467.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/0.4684, allocations: 0.961 MB / 468.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.4685, allocations: 32 kB / 468.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.4688, allocations: 63.91 kB / 468.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003905/0.4727, allocations: 1.25 MB / 469.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004133/0.4769, allocations: 1.357 MB / 471.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.477, allocations: 4 kB / 471.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.4771, allocations: 0 / 471.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/0.4772, allocations: 50.02 kB / 471.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.4906, allocations: 4.809 MB / 475.9 MB, free: 3.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.4927, allocations: 0.8316 MB / 476.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.4947, allocations: 0.7119 MB / 477.5 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/0.4949, allocations: 8.641 kB / 477.5 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/0.4963, allocations: 0.5487 MB / 478 MB, free: 1.391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 3.296e-06/0.4963, allocations: 0 / 478 MB, free: 1.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.003467/0.4998, allocations: 1.14 MB / 479.2 MB, free: 244 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.4999, allocations: 93.75 kB / 479.3 MB, free: 132 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.5018, allocations: 0.7734 MB / 480 MB, free: 15.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.5019, allocations: 33.69 kB / 480.1 MB, free: 15.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004423/0.5024, allocations: 414 kB / 480.5 MB, free: 14.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.5028, allocations: 224.7 kB / 480.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.5028, allocations: 0 / 480.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.503, allocations: 338.8 kB / 481 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009855/0.504, allocations: 377.4 kB / 481.4 MB, free: 13.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.5052, allocations: 0.5129 MB / 481.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.5063, allocations: 411 kB / 482.3 MB, free: 13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.5063, allocations: 8 kB / 482.3 MB, free: 12.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003098/0.5094, allocations: 1.11 MB / 483.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.5095, allocations: 8.438 kB / 483.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.5095, allocations: 8 kB / 483.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.511, allocations: 391.2 kB / 483.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.5122, allocations: 123.8 kB / 483.9 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008483/0.5207, allocations: 3.775 MB / 487.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007879/0.5216, allocations: 63.56 kB / 487.8 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/0.5217, allocations: 24 kB / 487.8 MB, free: 7.367 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002589/0.522, allocations: 55.28 kB / 487.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/0.5224, allocations: 94.81 kB / 488 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.5228, allocations: 108.2 kB / 488.1 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.5228, allocations: 8 kB / 488.1 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.5229, allocations: 3.984 kB / 488.1 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.5229, allocations: 0 / 488.1 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006382/0.5293, allocations: 2.339 MB / 490.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.5293, allocations: 0 / 490.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009524/0.5303, allocations: 95.88 kB / 490.5 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/0.5319, allocations: 388.9 kB / 490.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.532, allocations: 3.984 kB / 490.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008181/0.5402, allocations: 3.639 MB / 494.5 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.5403, allocations: 4 kB / 494.5 MB, free: 476 kB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004719/0.545, allocations: 1.852 MB / 496.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009074/0.546, allocations: 279.8 kB / 496.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.5463, allocations: 7.984 kB / 496.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008933/0.5472, allocations: 39.91 kB / 496.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.5475, allocations: 56.47 kB / 496.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-05/0.5476, allocations: 27.92 kB / 496.8 MB, free: 14.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00136/0.5489, allocations: 0.6084 MB / 497.4 MB, free: 13.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001453/0.5504, allocations: 302.9 kB / 497.7 MB, free: 13.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003177/0.5508, allocations: 115 kB / 497.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003136/0.5539, allocations: 1.109 MB / 498.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.554, allocations: 4.734 kB / 498.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.5559, allocations: 0.6865 MB / 499.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.5577, allocations: 190.2 kB / 499.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008493/0.5663, allocations: 2.121 MB / 0.4901 GB, free: 8.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/0.5683, allocations: 1.435 MB / 0.4915 GB, free: 7.516 MB / 394.7 MB Notification: Performance of SimCode: time 1.974e-06/0.5683, allocations: 0 / 0.4915 GB, free: 7.516 MB / 394.7 MB Notification: Performance of Templates: time 0.1672/0.7356, allocations: 20.61 MB / 0.5117 GB, free: 153.4 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches