Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [: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.001047/0.001047, allocations: 173.9 kB / 8.471 MB, free: 1.859 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.297/1.297, allocations: 205.2 MB / 214.1 MB, free: 1.879 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000857/0.000857, allocations: 91.39 kB / 262.1 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.672e-06/6.713e-06, allocations: 0 / 315 MB, free: 23.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07129/0.07131, allocations: 47.59 MB / 362.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2644/0.3357, allocations: 84.06 MB / 446.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.336, allocations: 83.08 kB / 446.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.05151/0.3875, allocations: 19.97 MB / 466.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.363e-05/0.3876, allocations: 28 kB / 466.7 MB, free: 11.11 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002363/0.39, allocations: 1.279 MB / 468 MB, free: 9.859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.39, allocations: 12.03 kB / 468 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.3903, allocations: 138.4 kB / 468.1 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/0.3946, allocations: 1.67 MB / 469.8 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.3947, allocations: 32 kB / 469.8 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.3949, allocations: 59.94 kB / 469.9 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001807/0.3967, allocations: 1.146 MB / 471 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.3985, allocations: 1.276 MB / 472.3 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.3986, allocations: 3.906 kB / 472.3 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/0.3987, allocations: 3.984 kB / 472.3 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/0.3987, allocations: 45.62 kB / 472.4 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005824/0.4045, allocations: 4.17 MB / 476.5 MB, free: 3.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.4058, allocations: 0.892 MB / 477.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.4069, allocations: 0.8104 MB / 478.2 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.407, allocations: 4.656 kB / 478.2 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007934/0.4078, allocations: 0.5572 MB / 478.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 2.726e-06/0.4078, allocations: 0 / 478.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.001891/0.4097, allocations: 1.202 MB / 480 MB, free: 132 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.4097, allocations: 111.5 kB / 480.1 MB, free: 16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008329/0.4106, allocations: 0.6715 MB / 480.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.4106, allocations: 25.7 kB / 480.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.4109, allocations: 379.8 kB / 481.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.4111, allocations: 228.6 kB / 481.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.4112, allocations: 0 / 481.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4114, allocations: 398.7 kB / 481.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/0.4118, allocations: 377.4 kB / 482.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.4124, allocations: 0.5177 MB / 482.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005406/0.413, allocations: 422.9 kB / 483.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.413, allocations: 0 / 483.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001701/0.4147, allocations: 1.226 MB / 484.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4147, allocations: 4 kB / 484.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.4147, allocations: 4 kB / 484.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.4158, allocations: 488.4 kB / 484.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.4162, allocations: 91.83 kB / 484.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/0.4222, allocations: 4.794 MB / 489.7 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.4229, allocations: 63.41 kB / 489.7 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.4229, allocations: 28 kB / 489.8 MB, free: 6.109 MB / 362.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 (52): * Single equations (assignments): 51 * 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 32} Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.4231, allocations: 122.5 kB / 489.9 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.4233, allocations: 90.95 kB / 490 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.4235, allocations: 104.2 kB / 490.1 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.4235, allocations: 8 kB / 490.1 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.4235, allocations: 0 / 490.1 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.4236, allocations: 3.984 kB / 490.1 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/0.4271, allocations: 2.435 MB / 492.5 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4271, allocations: 3.984 kB / 492.5 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.4274, allocations: 59.97 kB / 492.6 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.4284, allocations: 488.9 kB / 493.1 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.4285, allocations: 7.922 kB / 493.1 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005934/0.4344, allocations: 4.738 MB / 497.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.4345, allocations: 4 kB / 497.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002553/0.437, allocations: 1.876 MB / 499.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.4375, allocations: 271.8 kB / 500 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.4377, allocations: 0 / 500 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.4381, allocations: 27.97 kB / 500 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.4382, allocations: 52.58 kB / 0.4883 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.4383, allocations: 19.98 kB / 0.4883 GB, free: 11.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000717/0.439, allocations: 0.5264 MB / 0.4889 GB, free: 11.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009835/0.44, allocations: 306.9 kB / 0.4891 GB, free: 10.77 MB / 378.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 (38): * Single equations (assignments): 34 * 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 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002489/0.4403, allocations: 115.1 kB / 0.4893 GB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.4423, allocations: 1.133 MB / 0.4904 GB, free: 9.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.4423, allocations: 320 / 0.4904 GB, free: 9.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.4434, allocations: 0.7064 MB / 0.4911 GB, free: 8.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009017/0.4443, allocations: 210.8 kB / 0.4913 GB, free: 8.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.4479, allocations: 1.787 MB / 0.493 GB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009916/0.4489, allocations: 1.373 MB / 0.4943 GB, free: 5.359 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4489, allocations: 0 / 0.4943 GB, free: 5.359 MB / 378.7 MB Notification: Performance of Templates: time 0.0252/0.4741, allocations: 15.78 MB / 0.5097 GB, free: 5.559 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches