Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") [: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.001261/0.00126, allocations: 175 kB / 8.474 MB, free: 1.879 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.221/1.221, allocations: 205.2 MB / 214.1 MB, free: 5.086 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.0009557/0.0009557, allocations: 91.27 kB / 262.1 MB, free: 5.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.398e-06/9.498e-06, allocations: 4 kB / 315 MB, free: 41.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07528/0.0753, allocations: 47.57 MB / 362.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.3024, allocations: 79.99 MB / 442.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.3027, allocations: 77.81 kB / 442.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01626/0.3189, allocations: 6.772 MB / 449.4 MB, free: 9.375 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.319, allocations: 8.469 kB / 449.4 MB, free: 9.375 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001025/0.32, allocations: 0.6588 MB / 450.1 MB, free: 8.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3201, allocations: 11.56 kB / 450.1 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.3203, allocations: 57.78 kB / 450.1 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.3208, allocations: 349.2 kB / 450.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3208, allocations: 11.53 kB / 450.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.3209, allocations: 26.72 kB / 450.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004928/0.3214, allocations: 271.6 kB / 450.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.3219, allocations: 384.6 kB / 451.2 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.3219, allocations: 11.86 kB / 451.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.322, allocations: 0 / 451.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.322, allocations: 11.56 kB / 451.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.3239, allocations: 1.754 MB / 452.9 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.3244, allocations: 310.3 kB / 453.2 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.3246, allocations: 197.5 kB / 453.4 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.3246, allocations: 11.44 kB / 453.4 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.3249, allocations: 217.3 kB / 453.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/0.3249, allocations: 4 kB / 453.7 MB, free: 7.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006462/0.3256, allocations: 386 kB / 454 MB, free: 6.973 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3256, allocations: 92.72 kB / 454.1 MB, free: 6.871 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.3259, allocations: 233.7 kB / 454.4 MB, free: 6.762 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3259, allocations: 33.12 kB / 454.4 MB, free: 6.727 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.326, allocations: 181.5 kB / 454.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.3261, allocations: 127.1 kB / 454.7 MB, free: 6.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.3261, allocations: 4 kB / 454.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.3261, allocations: 344.2 kB / 455 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3263, allocations: 106.9 kB / 455.1 MB, free: 6.152 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3265, allocations: 224.4 kB / 455.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3267, allocations: 124.7 kB / 455.5 MB, free: 5.984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3267, allocations: 0 / 455.5 MB, free: 5.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006272/0.3273, allocations: 449.2 kB / 455.9 MB, free: 5.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3273, allocations: 7.719 kB / 455.9 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3274, allocations: 7.797 kB / 455.9 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/0.3278, allocations: 148 kB / 456.1 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.328, allocations: 66.09 kB / 456.1 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.3299, allocations: 2.025 MB / 458.2 MB, free: 4.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.3301, allocations: 34.58 kB / 458.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.3301, allocations: 15 kB / 458.2 MB, free: 4.441 MB / 314.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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 9.83e-05/0.3302, allocations: 124.1 kB / 458.3 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.3303, allocations: 38.81 kB / 458.4 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/0.3304, allocations: 39.88 kB / 458.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3304, allocations: 3.844 kB / 458.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3304, allocations: 0 / 458.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3304, allocations: 3.984 kB / 458.4 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.3308, allocations: 416 kB / 458.8 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3308, allocations: 0 / 458.8 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.331, allocations: 38.27 kB / 458.9 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003412/0.3313, allocations: 142.5 kB / 459 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.3314, allocations: 3.984 kB / 459 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.333, allocations: 2.033 MB / 461 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3331, allocations: 3.812 kB / 461 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000827/0.3339, allocations: 0.5869 MB / 461.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.334, allocations: 146.1 kB / 461.8 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.3341, allocations: 6.344 kB / 461.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3343, allocations: 13.08 kB / 461.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.3344, allocations: 20.58 kB / 461.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.3344, allocations: 16.42 kB / 461.8 MB, free: 2.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000159/0.3346, allocations: 192.3 kB / 462 MB, free: 2.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004377/0.335, allocations: 119.9 kB / 462.1 MB, free: 2.234 MB / 314.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001449/0.3352, allocations: 112.2 kB / 462.2 MB, free: 2.137 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006885/0.3359, allocations: 459.6 kB / 462.7 MB, free: 1.992 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3359, allocations: 0 / 462.7 MB, free: 1.992 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.3363, allocations: 314.5 kB / 463 MB, free: 1.855 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3366, allocations: 50.22 kB / 463 MB, free: 1.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3379, allocations: 0.5849 MB / 463.6 MB, free: 1.562 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/0.3384, allocations: 0.8566 MB / 464.5 MB, free: 16.79 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3384, allocations: 5.156 kB / 464.5 MB, free: 16.78 MB / 330.7 MB Notification: Performance of Templates: time 0.01106/0.3494, allocations: 5.855 MB / 470.3 MB, free: 13.88 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches