Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001491/0.001491, allocations: 205.6 kB / 8.54 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008999/0.0009, allocations: 94.05 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.183e-05/1.185e-05, allocations: 8 kB / 343.2 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09855, allocations: 51.47 MB / 394.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2844/0.383, allocations: 82.12 MB / 476.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.3833, allocations: 82.45 kB / 476.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01808/0.4014, allocations: 7.113 MB / 483.9 MB, free: 5.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.4015, allocations: 12 kB / 484 MB, free: 5.203 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001121/0.4026, allocations: 0.672 MB / 484.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4027, allocations: 12.03 kB / 484.6 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/0.403, allocations: 68.2 kB / 484.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.4036, allocations: 367.3 kB / 485.1 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.4036, allocations: 16 kB / 485.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/0.4037, allocations: 24 kB / 485.1 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005186/0.4042, allocations: 281.3 kB / 485.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.4048, allocations: 378.9 kB / 485.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.4048, allocations: 0 / 485.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.4048, allocations: 7.891 kB / 485.8 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4049, allocations: 12 kB / 485.8 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.407, allocations: 1.768 MB / 487.5 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.4076, allocations: 313.7 kB / 487.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.4078, allocations: 195.5 kB / 488 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.4079, allocations: 6.297 kB / 488 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.4082, allocations: 223.2 kB / 488.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.4082, allocations: 0 / 488.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008009/0.409, allocations: 395.2 kB / 488.6 MB, free: 1.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.4091, allocations: 81.11 kB / 488.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.4094, allocations: 256.1 kB / 489 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4095, allocations: 29.64 kB / 489 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.4096, allocations: 193.4 kB / 489.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.069e-05/0.4097, allocations: 124.4 kB / 489.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.4097, allocations: 0 / 489.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.4098, allocations: 347 kB / 489.7 MB, free: 296 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.4099, allocations: 100.2 kB / 489.8 MB, free: 240 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.4102, allocations: 228.1 kB / 490 MB, free: 20 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.4105, allocations: 125.8 kB / 490.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.4105, allocations: 4 kB / 490.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007752/0.4113, allocations: 456.6 kB / 490.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4113, allocations: 4 kB / 490.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.4113, allocations: 8.422 kB / 490.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004835/0.4118, allocations: 140.3 kB / 490.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.4121, allocations: 67.78 kB / 490.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.4145, allocations: 2.03 MB / 492.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.4148, allocations: 42.11 kB / 492.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.4149, allocations: 14.34 kB / 492.9 MB, free: 13.57 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.000124/0.415, allocations: 120.9 kB / 493 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.4151, allocations: 39.53 kB / 493 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.935e-05/0.4152, allocations: 44.8 kB / 493.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.4152, allocations: 4 kB / 493.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4152, allocations: 0 / 493.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.4152, allocations: 7.984 kB / 493.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.4156, allocations: 426.1 kB / 493.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4157, allocations: 0 / 493.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.4159, allocations: 39.91 kB / 493.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003675/0.4163, allocations: 131.1 kB / 493.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.4163, allocations: 11.86 kB / 493.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.4185, allocations: 2.03 MB / 495.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4185, allocations: 0 / 495.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00091/0.4195, allocations: 0.5787 MB / 496.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.4196, allocations: 158.7 kB / 496.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.4197, allocations: 5.375 kB / 496.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.4199, allocations: 11.98 kB / 496.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.42, allocations: 23.53 kB / 496.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.42, allocations: 15.55 kB / 496.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001892/0.4202, allocations: 194.9 kB / 496.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004879/0.4207, allocations: 127.6 kB / 496.8 MB, free: 10.2 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.0002017/0.421, allocations: 116.1 kB / 496.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008041/0.4218, allocations: 464.5 kB / 497.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4218, allocations: 0.875 kB / 497.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.4222, allocations: 306.7 kB / 497.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4225, allocations: 50.14 kB / 497.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.424, allocations: 0.5877 MB / 498.3 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004861/0.4245, allocations: 0.8569 MB / 499.2 MB, free: 8.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4245, allocations: 1.5 kB / 499.2 MB, free: 8.02 MB / 362.7 MB Notification: Performance of Templates: time 0.01173/0.4362, allocations: 5.919 MB / 0.4932 GB, free: 2.27 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches