Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 226.6 MB / 244.3 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008243/0.0008241, allocations: 101.1 kB / 296.4 MB, free: 6.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002612, allocations: 12 kB / 356.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2432, allocations: 51.28 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003089/0.2464, allocations: 3.18 MB / 410.7 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2478, allocations: 1.008 MB / 411.7 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.2481, allocations: 18 kB / 411.7 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.2482, allocations: 79.39 kB / 411.8 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005479/0.2488, allocations: 197 kB / 412 MB, free: 23.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.249, allocations: 99.36 kB / 412.1 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006305/0.2497, allocations: 0.9729 MB / 413.1 MB, free: 22.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004396/0.2501, allocations: 441 kB / 413.5 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.2504, allocations: 306.7 kB / 413.8 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.2508, allocations: 414.3 kB / 414.2 MB, free: 21.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.87e-05/0.2509, allocations: 40 kB / 414.2 MB, free: 21.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.251, allocations: 44 kB / 414.3 MB, free: 21.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.2512, allocations: 207.3 kB / 414.5 MB, free: 20.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.2513, allocations: 185.3 kB / 414.7 MB, free: 20.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.2519, allocations: 1.002 MB / 415.7 MB, free: 19.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2519, allocations: 0 / 415.7 MB, free: 19.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2519, allocations: 4 kB / 415.7 MB, free: 19.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2519, allocations: 0 / 415.7 MB, free: 19.65 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001474/0.2534, allocations: 1.053 MB / 416.7 MB, free: 18.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2535, allocations: 12.03 kB / 416.7 MB, free: 18.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.2539, allocations: 122.9 kB / 416.8 MB, free: 18.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.2546, allocations: 0.6031 MB / 417.4 MB, free: 17.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.2546, allocations: 45.31 kB / 417.5 MB, free: 17.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.201e-05/0.2547, allocations: 67.95 kB / 417.6 MB, free: 17.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.2559, allocations: 0.9189 MB / 418.5 MB, free: 16.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.2559, allocations: 3.938 kB / 418.5 MB, free: 16.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.256, allocations: 31.98 kB / 418.5 MB, free: 16.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.256, allocations: 29.3 kB / 418.5 MB, free: 16.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.2571, allocations: 0.8014 MB / 419.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.2602, allocations: 2.834 MB / 422.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/0.2609, allocations: 0.7561 MB / 422.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.2613, allocations: 350.9 kB / 423.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.2614, allocations: 4.328 kB / 423.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005173/0.2619, allocations: 393.9 kB / 423.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.2619, allocations: 0 / 423.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002438/0.2644, allocations: 1.241 MB / 424.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.2644, allocations: 106.8 kB / 425 MB, free: 9.934 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.265, allocations: 0.5722 MB / 425.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.265, allocations: 41.69 kB / 425.6 MB, free: 9.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.2652, allocations: 359.9 kB / 426 MB, free: 8.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/0.2653, allocations: 142 kB / 426.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.2653, allocations: 12 kB / 426.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.2654, allocations: 362.8 kB / 426.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.2657, allocations: 225 kB / 426.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.2661, allocations: 365.7 kB / 427.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.2665, allocations: 251.7 kB / 427.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2665, allocations: 4 kB / 427.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001024/0.2675, allocations: 0.7639 MB / 428.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2675, allocations: 4 kB / 428.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2676, allocations: 7.938 kB / 428.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004787/0.268, allocations: 207.8 kB / 428.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.2683, allocations: 75.88 kB / 428.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.2708, allocations: 2.772 MB / 431.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.2712, allocations: 59.78 kB / 431.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.2712, allocations: 16 kB / 431.2 MB, free: 3.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 ($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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.000421/0.2716, allocations: 326 kB / 431.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.2717, allocations: 55.34 kB / 431.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.898e-05/0.2718, allocations: 73.33 kB / 431.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2718, allocations: 11.95 kB / 431.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2718, allocations: 4 kB / 431.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2718, allocations: 0 / 431.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.2738, allocations: 1.759 MB / 433.4 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2739, allocations: 3.938 kB / 433.4 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.2741, allocations: 47.91 kB / 433.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000375/0.2745, allocations: 200.7 kB / 433.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.2745, allocations: 11.98 kB / 433.7 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.277, allocations: 2.639 MB / 436.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.277, allocations: 0 / 436.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.2788, allocations: 1.16 MB / 437.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.279, allocations: 192.4 kB / 437.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.2791, allocations: 8 kB / 437.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.2794, allocations: 31.97 kB / 437.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.2795, allocations: 47.88 kB / 437.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.2795, allocations: 15.94 kB / 437.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005124/0.2801, allocations: 422.8 kB / 438.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2801, allocations: 0 / 438.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000716/0.2808, allocations: 207.3 kB / 438.4 MB, free: 12.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001785/0.281, allocations: 119.2 kB / 438.5 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.2822, allocations: 0.7332 MB / 439.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.2822, allocations: 8.25 kB / 439.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.2829, allocations: 478.2 kB / 439.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000666/0.2836, allocations: 155.1 kB / 439.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.2863, allocations: 1.827 MB / 441.7 MB, free: 8.691 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.2869, allocations: 1.062 MB / 442.8 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.2871, allocations: 39.42 kB / 442.8 MB, free: 7.562 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2871, allocations: 0 / 442.8 MB, free: 7.562 MB / 314.7 MB Notification: Performance of Templates: time 0.01586/0.3029, allocations: 12.84 MB / 455.6 MB, free: 10.76 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches