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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007682/0.0007681, allocations: 102.3 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 8 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2085, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.002891/0.2114, allocations: 3.15 MB / 378.2 MB, free: 42.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.2128, allocations: 0.9057 MB / 379.2 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.213, allocations: 7.062 kB / 379.2 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.2132, allocations: 58.28 kB / 379.2 MB, free: 42.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.2134, allocations: 123 kB / 379.3 MB, free: 42.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.2137, allocations: 101.3 kB / 379.4 MB, free: 41.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.2142, allocations: 0.5603 MB / 380 MB, free: 41.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.2145, allocations: 180.1 kB / 380.2 MB, free: 41.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.2147, allocations: 178 kB / 380.3 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.2149, allocations: 207.2 kB / 380.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.215, allocations: 23.12 kB / 380.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.2151, allocations: 23.12 kB / 380.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.548e-05/0.2152, allocations: 77.75 kB / 380.7 MB, free: 41.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.2153, allocations: 253.8 kB / 380.9 MB, free: 41.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.2157, allocations: 457.4 kB / 381.4 MB, free: 40.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2157, allocations: 0 / 381.4 MB, free: 40.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2157, allocations: 0 / 381.4 MB, free: 40.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2157, allocations: 1.438 kB / 381.4 MB, free: 40.69 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001007/0.2167, allocations: 0.688 MB / 382.1 MB, free: 40.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2167, allocations: 8.906 kB / 382.1 MB, free: 40.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.072e-05/0.2168, allocations: 56.06 kB / 382.1 MB, free: 40.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.2172, allocations: 364.3 kB / 382.5 MB, free: 39.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.2173, allocations: 30.69 kB / 382.5 MB, free: 39.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.2173, allocations: 44.66 kB / 382.5 MB, free: 39.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.218, allocations: 456.9 kB / 383 MB, free: 39.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.218, allocations: 0 / 383 MB, free: 39.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.2181, allocations: 16.47 kB / 383 MB, free: 39.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.2181, allocations: 10.62 kB / 383 MB, free: 39.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.2187, allocations: 318.9 kB / 383.3 MB, free: 39.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.2207, allocations: 1.851 MB / 385.2 MB, free: 37.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.2214, allocations: 0.6173 MB / 385.8 MB, free: 37.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/0.2219, allocations: 278.8 kB / 386.1 MB, free: 37.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.2219, allocations: 4.109 kB / 386.1 MB, free: 37.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.2224, allocations: 270 kB / 386.3 MB, free: 36.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.2224, allocations: 0 / 386.3 MB, free: 36.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002161/0.2245, allocations: 0.8443 MB / 387.2 MB, free: 36.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.2246, allocations: 89.11 kB / 387.3 MB, free: 36.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.2249, allocations: 308.5 kB / 387.6 MB, free: 35.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.2249, allocations: 45.64 kB / 387.6 MB, free: 35.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.225, allocations: 216.3 kB / 387.8 MB, free: 35.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/0.2251, allocations: 142 kB / 388 MB, free: 35.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.2251, allocations: 8 kB / 388 MB, free: 35.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.2252, allocations: 350.7 kB / 388.3 MB, free: 35.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.2254, allocations: 121.1 kB / 388.4 MB, free: 34.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.2257, allocations: 245 kB / 388.7 MB, free: 34.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.2261, allocations: 388.9 kB / 389.1 MB, free: 34.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2261, allocations: 0 / 389.1 MB, free: 34.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007078/0.2268, allocations: 0.5093 MB / 389.6 MB, free: 33.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2269, allocations: 4 kB / 389.6 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2269, allocations: 8 kB / 389.6 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004407/0.2273, allocations: 148.7 kB / 389.7 MB, free: 33.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.2275, allocations: 71.88 kB / 389.8 MB, free: 33.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.2297, allocations: 2.31 MB / 392.1 MB, free: 31.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.23, allocations: 51.53 kB / 392.2 MB, free: 31.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.23, allocations: 16 kB / 392.2 MB, free: 31.01 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,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 () * 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.0002142/0.2303, allocations: 178.4 kB / 392.3 MB, free: 30.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.2303, allocations: 39.53 kB / 392.4 MB, free: 30.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.11e-05/0.2304, allocations: 48.23 kB / 392.4 MB, free: 30.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2304, allocations: 8 kB / 392.4 MB, free: 30.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2304, allocations: 3.938 kB / 392.4 MB, free: 30.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2304, allocations: 4 kB / 392.4 MB, free: 30.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.2317, allocations: 1.024 MB / 393.5 MB, free: 29.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2317, allocations: 0 / 393.5 MB, free: 29.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.2318, allocations: 39.95 kB / 393.5 MB, free: 29.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/0.2322, allocations: 140.8 kB / 393.6 MB, free: 29.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.2322, allocations: 8 kB / 393.7 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.2342, allocations: 2.315 MB / 396 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2342, allocations: 0 / 396 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009034/0.2351, allocations: 0.7195 MB / 396.7 MB, free: 26.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.2353, allocations: 144.6 kB / 396.8 MB, free: 26.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.2353, allocations: 12 kB / 396.8 MB, free: 26.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.2355, allocations: 16.27 kB / 396.9 MB, free: 26.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.2356, allocations: 35.95 kB / 396.9 MB, free: 26.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.2357, allocations: 19.92 kB / 396.9 MB, free: 26.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.2358, allocations: 219.1 kB / 397.1 MB, free: 25.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-07/0.2358, allocations: 0 / 397.1 MB, free: 25.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005425/0.2364, allocations: 143.7 kB / 397.3 MB, free: 25.66 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001352/0.2365, allocations: 111.8 kB / 397.4 MB, free: 25.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008513/0.2374, allocations: 0.549 MB / 397.9 MB, free: 24.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2374, allocations: 0 / 397.9 MB, free: 24.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.2379, allocations: 383 kB / 398.3 MB, free: 24.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.2383, allocations: 71.48 kB / 398.4 MB, free: 24.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2396, allocations: 1.062 MB / 399.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.2399, allocations: 0.8318 MB / 400.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.2399, allocations: 27.44 kB / 400.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2399, allocations: 0 / 400.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of Templates: time 0.006974/0.2469, allocations: 6.865 MB / 407.2 MB, free: 15.69 MB / 298.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/jenkins/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