Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 104.9 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.3 MB, free: 9.141 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 64.27 kB / 306.3 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1205, allocations: 50.53 MB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006862/0.1274, allocations: 3.775 MB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.1298, allocations: 0.978 MB / 361.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.1301, allocations: 7.938 kB / 361.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.1305, allocations: 59.53 kB / 361.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005268/0.1311, allocations: 119 kB / 361.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.1317, allocations: 155.8 kB / 361.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008301/0.1325, allocations: 0.5836 MB / 362.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004892/0.133, allocations: 191.2 kB / 362.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.1335, allocations: 215.1 kB / 362.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.1339, allocations: 230.9 kB / 363.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.616e-05/0.134, allocations: 32 kB / 363.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1342, allocations: 32 kB / 363.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.1344, allocations: 103.5 kB / 363.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.1347, allocations: 254.6 kB / 363.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.1355, allocations: 0.6033 MB / 364.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1355, allocations: 0 / 364.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1355, allocations: 0 / 364.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1355, allocations: 0 / 364.1 MB, free: 6.93 MB / 302.1 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.001929/0.1375, allocations: 0.7962 MB / 364.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.1375, allocations: 8.031 kB / 364.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.1379, allocations: 64.28 kB / 365 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.1385, allocations: 376.7 kB / 365.4 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.1386, allocations: 33.38 kB / 365.4 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.313e-05/0.1387, allocations: 40.38 kB / 365.4 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.1399, allocations: 473.5 kB / 365.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.1399, allocations: 0 / 365.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.14, allocations: 16 kB / 365.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.14, allocations: 8 kB / 365.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009403/0.141, allocations: 323.8 kB / 366.2 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/0.1445, allocations: 1.863 MB / 368.1 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.1458, allocations: 0.6286 MB / 368.7 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008854/0.1467, allocations: 273.3 kB / 369 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.1467, allocations: 4.328 kB / 369 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006947/0.1474, allocations: 265.2 kB / 369.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 3.006e-06/0.1475, allocations: 0 / 369.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003283/0.1507, allocations: 0.8461 MB / 370.1 MB, free: 0.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.1508, allocations: 85.11 kB / 370.2 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004749/0.1513, allocations: 320.5 kB / 370.5 MB, free: 208 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.1514, allocations: 41.69 kB / 370.5 MB, free: 160 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2164/0.3678, allocations: 218.3 kB / 370.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.368, allocations: 134 kB / 370.9 MB, free: 20.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.3683, allocations: 89.2 kB / 371 MB, free: 20.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3684, allocations: 355.1 kB / 371.3 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.3688, allocations: 119.9 kB / 371.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.3692, allocations: 252.6 kB / 371.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007533/0.37, allocations: 382.3 kB / 372 MB, free: 19.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.37, allocations: 5.531 kB / 372.1 MB, free: 19.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001453/0.3715, allocations: 0.5079 MB / 372.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3715, allocations: 10.16 kB / 372.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3715, allocations: 3.688 kB / 372.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006734/0.3722, allocations: 150.1 kB / 372.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.3726, allocations: 66.42 kB / 372.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003395/0.376, allocations: 2.311 MB / 375.1 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.3763, allocations: 46.06 kB / 375.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.3764, allocations: 19.09 kB / 375.2 MB, free: 17.79 MB / 302.1 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 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002557/0.3766, allocations: 174 kB / 375.3 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.3767, allocations: 40.25 kB / 375.4 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-05/0.3768, allocations: 52.75 kB / 375.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3768, allocations: 5.469 kB / 375.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3768, allocations: 1.031 kB / 375.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3768, allocations: 5.016 kB / 375.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.3784, allocations: 1.028 MB / 376.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3784, allocations: 0 / 376.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.3786, allocations: 35.27 kB / 376.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004068/0.379, allocations: 146.3 kB / 376.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.3791, allocations: 16.25 kB / 376.7 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.3812, allocations: 2.3 MB / 379 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3812, allocations: 0 / 379 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3822, allocations: 0.7223 MB / 379.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.3824, allocations: 152.1 kB / 379.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.3824, allocations: 11.72 kB / 379.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3827, allocations: 12.94 kB / 379.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3828, allocations: 45.34 kB / 379.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.3828, allocations: 13.5 kB / 379.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002466/0.3831, allocations: 228.7 kB / 380.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3831, allocations: 0 / 380.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006627/0.3838, allocations: 144.6 kB / 380.3 MB, free: 14.34 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002099/0.384, allocations: 122.8 kB / 380.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009698/0.3849, allocations: 0.5249 MB / 380.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.385, allocations: 4.172 kB / 380.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.3855, allocations: 373.4 kB / 381.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.3861, allocations: 77.47 kB / 381.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.3876, allocations: 1.051 MB / 382.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3879, allocations: 0.8329 MB / 383.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.3881, allocations: 38.66 kB / 383.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.3881, allocations: 33.44 kB / 383.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3882, allocations: 0 / 383.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Templates: time 0.01142/0.3996, allocations: 6.494 MB / 389.8 MB, free: 10.88 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches