Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 195.3 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.5 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007634/0.0007634, allocations: 96.06 kB / 296.8 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002121/0.0002121, allocations: 8 kB / 356.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1855, allocations: 51.3 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.002532/0.1881, allocations: 3.219 MB / 411.3 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1892, allocations: 0.9137 MB / 412.2 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.1894, allocations: 13.09 kB / 412.2 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.1896, allocations: 59.53 kB / 412.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.1898, allocations: 117.6 kB / 412.4 MB, free: 23.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.1901, allocations: 108.8 kB / 412.5 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.1905, allocations: 0.5568 MB / 413 MB, free: 22.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.1907, allocations: 188.4 kB / 413.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.1909, allocations: 183.2 kB / 413.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.1911, allocations: 211 kB / 413.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.1912, allocations: 24 kB / 413.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-05/0.1913, allocations: 30.06 kB / 413.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.1913, allocations: 87.61 kB / 413.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.1915, allocations: 252.5 kB / 414 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.1918, allocations: 474.6 kB / 414.5 MB, free: 21.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1918, allocations: 4 kB / 414.5 MB, free: 21.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1918, allocations: 0 / 414.5 MB, free: 21.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1918, allocations: 4 kB / 414.5 MB, free: 21.25 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.000936/0.1928, allocations: 0.7066 MB / 415.2 MB, free: 20.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1928, allocations: 11.97 kB / 415.2 MB, free: 20.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.193, allocations: 68.27 kB / 415.3 MB, free: 20.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.1933, allocations: 368.8 kB / 415.6 MB, free: 20.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.1934, allocations: 29.38 kB / 415.6 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.1934, allocations: 48.28 kB / 415.7 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005958/0.194, allocations: 461.5 kB / 416.1 MB, free: 19.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1941, allocations: 3.938 kB / 416.1 MB, free: 19.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.1941, allocations: 20 kB / 416.2 MB, free: 19.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1941, allocations: 12 kB / 416.2 MB, free: 19.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.1946, allocations: 323.8 kB / 416.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.1964, allocations: 1.887 MB / 418.4 MB, free: 17.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005938/0.1971, allocations: 0.6123 MB / 419 MB, free: 16.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.1975, allocations: 272.8 kB / 419.3 MB, free: 16.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.1976, allocations: 4.328 kB / 419.3 MB, free: 16.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003593/0.1979, allocations: 273.1 kB / 419.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.1979, allocations: 0 / 419.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001975/0.1999, allocations: 0.8578 MB / 420.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2, allocations: 81.11 kB / 420.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.2002, allocations: 320.5 kB / 420.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.2003, allocations: 37.7 kB / 420.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.2003, allocations: 220.3 kB / 421 MB, free: 14.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.2004, allocations: 138.1 kB / 421.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.2005, allocations: 8 kB / 421.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.2006, allocations: 354.7 kB / 421.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.2008, allocations: 121.1 kB / 421.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.201, allocations: 253 kB / 421.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.2015, allocations: 386.6 kB / 422.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2015, allocations: 4 kB / 422.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007181/0.2022, allocations: 0.505 MB / 422.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2022, allocations: 15.88 kB / 422.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2023, allocations: 4 kB / 422.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/0.2027, allocations: 149.1 kB / 422.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.2029, allocations: 67.91 kB / 423 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.205, allocations: 2.31 MB / 425.3 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.2053, allocations: 39.62 kB / 425.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.2054, allocations: 24.03 kB / 425.4 MB, free: 9.723 MB / 298.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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.0001933/0.2056, allocations: 177.8 kB / 425.5 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.2056, allocations: 43.47 kB / 425.6 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.2057, allocations: 44.41 kB / 425.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2057, allocations: 11.94 kB / 425.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2057, allocations: 0 / 425.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2057, allocations: 3.984 kB / 425.6 MB, free: 9.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.2069, allocations: 1.043 MB / 426.7 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2069, allocations: 0 / 426.7 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.2071, allocations: 35.97 kB / 426.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003664/0.2075, allocations: 136.8 kB / 426.9 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.2075, allocations: 16.03 kB / 426.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.2095, allocations: 2.311 MB / 429.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2095, allocations: 0 / 429.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.2105, allocations: 0.7121 MB / 429.9 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.2106, allocations: 152.5 kB / 430 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.2107, allocations: 12 kB / 430.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.2109, allocations: 19.98 kB / 430.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.211, allocations: 39.67 kB / 430.1 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.211, allocations: 15.98 kB / 430.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001724/0.2112, allocations: 223.1 kB / 430.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2112, allocations: 0 / 430.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005272/0.2117, allocations: 143.7 kB / 430.5 MB, free: 4.352 MB / 298.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: 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 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * 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.0001242/0.2119, allocations: 123.2 kB / 430.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008126/0.2127, allocations: 0.5336 MB / 431.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2127, allocations: 0 / 431.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004513/0.2132, allocations: 366.4 kB / 431.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.2136, allocations: 84.59 kB / 431.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2149, allocations: 1.081 MB / 432.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.2151, allocations: 0.8282 MB / 433.5 MB, free: 1.246 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.2152, allocations: 31.44 kB / 433.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2152, allocations: 0 / 433.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of Templates: time 0.008272/0.2235, allocations: 7.041 MB / 440.6 MB, free: 10.22 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches