Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009678/0.0009679, allocations: 183.5 kB / 8.136 MB, free: 2.191 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.156/1.156, allocations: 221.4 MB / 229.9 MB, free: 3.07 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.0008992/0.0008992, allocations: 99.7 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.911e-06/5.941e-06, allocations: 0 / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1952, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08383/0.2791, allocations: 81.31 MB / 468.2 MB, free: 5.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.2793, allocations: 83.95 kB / 468.3 MB, free: 5.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01887/0.2982, allocations: 6.96 MB / 475.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.2983, allocations: 11.94 kB / 475.3 MB, free: 14.44 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001151/0.2994, allocations: 0.6658 MB / 476 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2995, allocations: 8.031 kB / 476 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.2996, allocations: 55.34 kB / 476 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.3002, allocations: 363.7 kB / 476.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.3002, allocations: 12 kB / 476.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.3003, allocations: 36.75 kB / 476.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005551/0.3009, allocations: 277.9 kB / 476.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/0.3015, allocations: 379.2 kB / 477.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.3016, allocations: 0 / 477.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.3016, allocations: 7.922 kB / 477.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.3016, allocations: 12 kB / 477.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.3041, allocations: 1.763 MB / 478.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.3046, allocations: 309.6 kB / 479.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.3049, allocations: 201.9 kB / 479.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.305, allocations: 4.328 kB / 479.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.3053, allocations: 237.1 kB / 479.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.644e-06/0.3053, allocations: 0 / 479.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007509/0.3061, allocations: 377.9 kB / 480 MB, free: 9.531 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.3062, allocations: 81.11 kB / 480 MB, free: 9.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.3064, allocations: 247.5 kB / 480.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.3065, allocations: 29.64 kB / 480.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3066, allocations: 192.9 kB / 480.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.3067, allocations: 130.2 kB / 480.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.3068, allocations: 0 / 480.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3069, allocations: 338.8 kB / 480.9 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.3072, allocations: 109 kB / 481.1 MB, free: 8.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.3074, allocations: 230.4 kB / 481.3 MB, free: 8.113 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.3076, allocations: 127.6 kB / 481.4 MB, free: 7.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3077, allocations: 4 kB / 481.4 MB, free: 7.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007292/0.3084, allocations: 441.5 kB / 481.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3084, allocations: 8 kB / 481.8 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.3084, allocations: 4 kB / 481.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/0.3089, allocations: 140.7 kB / 482 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.3091, allocations: 68.88 kB / 482.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.3116, allocations: 2.022 MB / 484.1 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.3118, allocations: 31.83 kB / 484.1 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.3118, allocations: 20 kB / 484.1 MB, free: 5.141 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: 13 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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 0.0001461/0.312, allocations: 125.1 kB / 484.3 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.3121, allocations: 39.53 kB / 484.3 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.391e-05/0.3121, allocations: 39.22 kB / 484.3 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3122, allocations: 8 kB / 484.3 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3122, allocations: 1.031 kB / 484.3 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3122, allocations: 3.984 kB / 484.3 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.3126, allocations: 422.1 kB / 484.8 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3126, allocations: 0 / 484.8 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.3129, allocations: 36.08 kB / 484.8 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/0.3133, allocations: 144.6 kB / 484.9 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.3133, allocations: 7.984 kB / 484.9 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/0.3156, allocations: 2.011 MB / 486.9 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3156, allocations: 0 / 486.9 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009197/0.3165, allocations: 0.5922 MB / 487.5 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.3167, allocations: 148.6 kB / 487.7 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.3168, allocations: 7.844 kB / 487.7 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.317, allocations: 11.98 kB / 487.7 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.317, allocations: 24.16 kB / 487.7 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.3171, allocations: 19.92 kB / 487.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001649/0.3173, allocations: 187.1 kB / 487.9 MB, free: 1.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004324/0.3177, allocations: 131.8 kB / 488.1 MB, free: 1.004 MB / 362.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001812/0.3179, allocations: 127 kB / 488.2 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007438/0.3186, allocations: 457.2 kB / 488.6 MB, free: 432 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3187, allocations: 0 / 488.6 MB, free: 432 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.3191, allocations: 306.3 kB / 488.9 MB, free: 116 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.3194, allocations: 54.72 kB / 489 MB, free: 64 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3208, allocations: 0.5737 MB / 489.6 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.3212, allocations: 0.854 MB / 490.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3212, allocations: 0 / 490.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01034/0.3316, allocations: 5.864 MB / 496.3 MB, free: 8.844 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches