Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.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_trunk_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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00205/0.00205, allocations: 196.9 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 226.5 MB / 244.3 MB, free: 6.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007616/0.0007617, allocations: 108.8 kB / 296.4 MB, free: 6.785 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002059/0.0002061, allocations: 4 kB / 356.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1908, allocations: 51.29 MB / 407.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.003193/0.194, allocations: 4.127 MB / 411.6 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.196, allocations: 1.272 MB / 412.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.1963, allocations: 23.88 kB / 412.9 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.1967, allocations: 162.9 kB / 413.1 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.1973, allocations: 310.2 kB / 413.4 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1976, allocations: 139.6 kB / 413.5 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009161/0.1985, allocations: 1.592 MB / 415.1 MB, free: 20.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006275/0.1992, allocations: 0.7075 MB / 415.8 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.1996, allocations: 486.1 kB / 416.3 MB, free: 18.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004975/0.2001, allocations: 0.6108 MB / 416.9 MB, free: 18.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.914e-05/0.2002, allocations: 64 kB / 417 MB, free: 18.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.2004, allocations: 67.98 kB / 417 MB, free: 18.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.2006, allocations: 322.9 kB / 417.4 MB, free: 17.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.2008, allocations: 281 kB / 417.6 MB, free: 17.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009052/0.2017, allocations: 1.665 MB / 419.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2017, allocations: 0 / 419.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2017, allocations: 0 / 419.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.2017, allocations: 0 / 419.3 MB, free: 15.96 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002041/0.2038, allocations: 1.436 MB / 420.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2038, allocations: 8.031 kB / 420.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004389/0.2043, allocations: 174.4 kB / 420.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.2054, allocations: 0.8831 MB / 421.8 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.2054, allocations: 73.98 kB / 421.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.2055, allocations: 103.9 kB / 422 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.2076, allocations: 1.447 MB / 423.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.2076, allocations: 4 kB / 423.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.2077, allocations: 36 kB / 423.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.2078, allocations: 49.98 kB / 423.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.2095, allocations: 1.292 MB / 424.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/0.2145, allocations: 4.379 MB / 429.2 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.216, allocations: 1.964 MB / 431.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007675/0.2167, allocations: 0.6221 MB / 431.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.2168, allocations: 16.62 kB / 431.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007513/0.2176, allocations: 0.5976 MB / 432.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 2.976e-06/0.2176, allocations: 0 / 432.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.006256/0.2238, allocations: 2.715 MB / 435.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.2239, allocations: 119.5 kB / 435.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.2251, allocations: 0.8208 MB / 436 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/0.2252, allocations: 45.69 kB / 436.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.2256, allocations: 491.8 kB / 436.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.2258, allocations: 244.5 kB / 436.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.2258, allocations: 16 kB / 436.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.226, allocations: 334 kB / 437.1 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.2266, allocations: 401.7 kB / 437.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/0.2273, allocations: 0.5493 MB / 438.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.228, allocations: 445.9 kB / 438.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.228, allocations: 0 / 438.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002174/0.2302, allocations: 1.323 MB / 439.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2302, allocations: 8 kB / 439.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.2303, allocations: 4 kB / 439.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.2313, allocations: 476.4 kB / 440.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.2317, allocations: 99.77 kB / 440.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0068/0.2385, allocations: 5.13 MB / 445.5 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.2392, allocations: 87.45 kB / 445.6 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.2392, allocations: 24 kB / 445.6 MB, free: 4.855 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 ($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_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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.000705/0.24, allocations: 459.2 kB / 446.1 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.2401, allocations: 90.92 kB / 446.2 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.2403, allocations: 116.6 kB / 446.3 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2403, allocations: 4 kB / 446.3 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2403, allocations: 4 kB / 446.3 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.2403, allocations: 11.97 kB / 446.3 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.2442, allocations: 2.619 MB / 448.9 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2442, allocations: 0 / 448.9 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.2445, allocations: 67.89 kB / 449 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009776/0.2455, allocations: 464.7 kB / 449.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.2456, allocations: 12 kB / 449.5 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006319/0.2519, allocations: 5.071 MB / 454.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2519, allocations: 0 / 454.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.2548, allocations: 1.915 MB / 456.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.2552, allocations: 287.7 kB / 456.7 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.2553, allocations: 15.95 kB / 456.7 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.2557, allocations: 47.89 kB / 456.8 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.2559, allocations: 72.55 kB / 456.9 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.256, allocations: 19.98 kB / 456.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007646/0.2567, allocations: 0.5888 MB / 457.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2568, allocations: 0 / 457.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008973/0.2577, allocations: 339.1 kB / 457.8 MB, free: 8.422 MB / 330.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_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 (40): * Single equations (assignments): 36 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.2579, allocations: 131 kB / 457.9 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.2599, allocations: 1.29 MB / 459.2 MB, free: 6.977 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2599, allocations: 0 / 459.2 MB, free: 6.977 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.2611, allocations: 0.8247 MB / 460 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.2622, allocations: 267 kB / 460.3 MB, free: 5.898 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.266, allocations: 2.735 MB / 463 MB, free: 3.125 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/0.2668, allocations: 1.3 MB / 464.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.267, allocations: 55.42 kB / 464.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.267, allocations: 0 / 464.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of Templates: time 0.02351/0.2905, allocations: 20.59 MB / 485 MB, free: 13.23 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches