Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002519/0.00252, allocations: 179.7 kB / 8.152 MB, free: 2.191 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.656/1.656, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.002054/0.002054, allocations: 91.66 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.808e-06/9.819e-06, allocations: 4 kB / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2401, allocations: 47.55 MB / 361.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.3699, allocations: 83.81 MB / 445.7 MB, free: 2.246 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.3702, allocations: 82.02 kB / 445.7 MB, free: 2.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.08325/0.4535, allocations: 19.98 MB / 465.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.4536, allocations: 28 kB / 465.7 MB, free: 14.11 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.004007/0.4577, allocations: 1.283 MB / 467 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4577, allocations: 12.03 kB / 467 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005244/0.4583, allocations: 134.4 kB / 467.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006826/0.4651, allocations: 1.667 MB / 468.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.4652, allocations: 32 kB / 468.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.4655, allocations: 56 kB / 468.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003611/0.4691, allocations: 1.148 MB / 470.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004136/0.4733, allocations: 1.275 MB / 471.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.467e-05/0.4734, allocations: 3.906 kB / 471.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.4735, allocations: 0 / 471.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-05/0.4736, allocations: 49.98 kB / 471.4 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/0.4847, allocations: 4.176 MB / 475.6 MB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.4871, allocations: 0.8861 MB / 476.5 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/0.4892, allocations: 0.806 MB / 477.3 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.461e-05/0.4893, allocations: 8.656 kB / 477.3 MB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/0.4906, allocations: 0.5534 MB / 477.8 MB, free: 1.746 MB / 362.7 MB Notification: Performance of pre-optimization done (n=75): time 3.917e-06/0.4906, allocations: 0 / 477.8 MB, free: 1.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.003522/0.4942, allocations: 1.206 MB / 479 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.4943, allocations: 115.4 kB / 479.2 MB, free: 396 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.4959, allocations: 0.6716 MB / 479.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.4961, allocations: 29.7 kB / 479.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.4965, allocations: 386.3 kB / 480.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.4968, allocations: 228.6 kB / 480.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.4969, allocations: 4 kB / 480.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.497, allocations: 342.7 kB / 480.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009989/0.4981, allocations: 377.4 kB / 481.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.4992, allocations: 0.5177 MB / 481.7 MB, free: 13.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.5003, allocations: 419 kB / 482.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.5003, allocations: 0 / 482.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003138/0.5034, allocations: 1.182 MB / 483.3 MB, free: 12.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.5035, allocations: 4 kB / 483.3 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.5035, allocations: 4 kB / 483.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/0.5054, allocations: 483.7 kB / 483.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/0.5062, allocations: 95.83 kB / 483.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.5176, allocations: 4.868 MB / 488.7 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.5184, allocations: 63.41 kB / 488.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/0.5185, allocations: 24 kB / 488.8 MB, free: 6.531 MB / 378.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.0002451/0.5188, allocations: 56 kB / 488.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.5191, allocations: 86.97 kB / 488.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.5195, allocations: 96.19 kB / 489 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.5195, allocations: 8 kB / 489 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5196, allocations: 4 kB / 489 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.5196, allocations: 3.984 kB / 489 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/0.5262, allocations: 2.45 MB / 491.5 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.5263, allocations: 3.938 kB / 491.5 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.5269, allocations: 59.97 kB / 491.6 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001907/0.5288, allocations: 472.3 kB / 492 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.97e-05/0.5289, allocations: 7.922 kB / 492 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.54, allocations: 4.75 MB / 496.8 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.5401, allocations: 0 / 496.8 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004614/0.5447, allocations: 1.868 MB / 498.6 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008257/0.5456, allocations: 271.9 kB / 498.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.5458, allocations: 7.906 kB / 498.9 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/0.5466, allocations: 27.97 kB / 498.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.5469, allocations: 52.56 kB / 499 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.569e-05/0.5469, allocations: 20 kB / 499 MB, free: 12.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001172/0.5481, allocations: 0.5264 MB / 499.5 MB, free: 11.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001495/0.5496, allocations: 299 kB / 499.8 MB, free: 11.27 MB / 394.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.0003032/0.55, allocations: 115 kB / 499.9 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003243/0.5532, allocations: 1.129 MB / 0.4893 GB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.5533, allocations: 8.812 kB / 0.4893 GB, free: 9.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.5553, allocations: 0.7064 MB / 0.49 GB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.5573, allocations: 207.9 kB / 0.4902 GB, free: 9.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006376/0.5638, allocations: 1.797 MB / 0.492 GB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/0.5657, allocations: 1.365 MB / 0.4933 GB, free: 5.848 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5658, allocations: 0 / 0.4933 GB, free: 5.848 MB / 394.7 MB Notification: Performance of Templates: time 0.197/0.7628, allocations: 19.39 MB / 0.5122 GB, free: 154.2 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches