Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002935/0.002935, allocations: 176 kB / 8.149 MB, free: 2.195 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.684/1.684, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001303/0.001303, allocations: 92.92 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.461e-05/1.476e-05, allocations: 4 kB / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2411, allocations: 47.56 MB / 361.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.3664, allocations: 80 MB / 441.9 MB, free: 6.055 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.3668, allocations: 88.44 kB / 441.9 MB, free: 5.969 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03059/0.3974, allocations: 6.773 MB / 448.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.631e-05/0.3975, allocations: 8 kB / 448.7 MB, free: 15.21 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001696/0.3992, allocations: 0.6539 MB / 449.4 MB, free: 14.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3993, allocations: 19.41 kB / 449.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.3995, allocations: 59.33 kB / 449.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008851/0.4004, allocations: 347.8 kB / 449.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.4004, allocations: 16 kB / 449.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.4006, allocations: 24 kB / 449.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000959/0.4015, allocations: 274 kB / 450.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.4026, allocations: 385.2 kB / 450.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.4026, allocations: 0 / 450.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/0.4027, allocations: 11.92 kB / 450.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.4027, allocations: 8 kB / 450.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.4067, allocations: 1.752 MB / 452.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008743/0.4076, allocations: 307.6 kB / 452.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.4081, allocations: 197.9 kB / 452.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.4082, allocations: 8.328 kB / 452.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005715/0.4088, allocations: 229.3 kB / 453 MB, free: 10.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.627e-06/0.4088, allocations: 0 / 453 MB, free: 10.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001386/0.4102, allocations: 385.8 kB / 453.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.4103, allocations: 81.11 kB / 453.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.4108, allocations: 247.5 kB / 453.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.032e-05/0.4109, allocations: 25.7 kB / 453.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.411, allocations: 234.7 kB / 453.9 MB, free: 9.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.4112, allocations: 134.1 kB / 454.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.4113, allocations: 4 kB / 454.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4114, allocations: 330.8 kB / 454.4 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.4117, allocations: 105 kB / 454.5 MB, free: 9.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.4122, allocations: 222.5 kB / 454.7 MB, free: 8.895 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.4126, allocations: 123.9 kB / 454.8 MB, free: 8.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4126, allocations: 0 / 454.8 MB, free: 8.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001303/0.4139, allocations: 432 kB / 455.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.414, allocations: 4 kB / 455.2 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.414, allocations: 4 kB / 455.3 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000705/0.4147, allocations: 136.8 kB / 455.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/0.4153, allocations: 71.78 kB / 455.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/0.4193, allocations: 2.003 MB / 457.5 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.4198, allocations: 30 kB / 457.5 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.4199, allocations: 20 kB / 457.5 MB, free: 5.973 MB / 346.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 0.0001653/0.42, allocations: 41.62 kB / 457.6 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.4202, allocations: 35.53 kB / 457.6 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.4204, allocations: 47.22 kB / 457.6 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4204, allocations: 4 kB / 457.6 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4204, allocations: 0 / 457.6 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4204, allocations: 0 / 457.6 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007737/0.4212, allocations: 422 kB / 458 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.4212, allocations: 0 / 458 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.4217, allocations: 43.91 kB / 458.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007231/0.4224, allocations: 139.3 kB / 458.2 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.4225, allocations: 4 kB / 458.2 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004066/0.4266, allocations: 2.023 MB / 460.3 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.4266, allocations: 0 / 460.3 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001846/0.4285, allocations: 0.5956 MB / 460.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.4289, allocations: 148.5 kB / 461 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.459e-05/0.429, allocations: 0 / 461 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.4294, allocations: 11.98 kB / 461 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.4295, allocations: 28.31 kB / 461 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.4296, allocations: 12 kB / 461 MB, free: 2.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003318/0.4299, allocations: 191.1 kB / 461.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006581/0.4306, allocations: 119.8 kB / 461.3 MB, free: 1.934 MB / 346.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.0002364/0.4309, allocations: 117.6 kB / 461.5 MB, free: 1.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.4323, allocations: 458.5 kB / 461.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4323, allocations: 0 / 461.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008485/0.4332, allocations: 313.3 kB / 462.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.4338, allocations: 55.66 kB / 462.3 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.4363, allocations: 0.614 MB / 462.9 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007241/0.4371, allocations: 0.8657 MB / 463.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4371, allocations: 0 / 463.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Templates: time 0.01622/0.4534, allocations: 6.693 MB / 470.4 MB, free: 8.785 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches