Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 108.4 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 51.92 kB / 282.1 MB, free: 2.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08237/0.08356, allocations: 46.63 MB / 328.7 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004635/0.08824, allocations: 3.662 MB / 332.4 MB, free: 40 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.08968, allocations: 0.9514 MB / 333.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.08986, allocations: 11.94 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.09008, allocations: 75.23 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.09039, allocations: 146.7 kB / 333.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.0907, allocations: 159.7 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.09126, allocations: 0.6031 MB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.09159, allocations: 207.4 kB / 334.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.09183, allocations: 227.1 kB / 334.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.09211, allocations: 242.9 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.04e-05/0.0922, allocations: 60 kB / 335.1 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.09228, allocations: 56 kB / 335.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.09239, allocations: 115.5 kB / 335.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.09262, allocations: 266.7 kB / 335.5 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.09313, allocations: 0.619 MB / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.09314, allocations: 0 / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.09315, allocations: 3.938 kB / 336.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.09316, allocations: 0 / 336.1 MB, free: 12.31 MB / 286.1 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.001297/0.09447, allocations: 0.7766 MB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.09451, allocations: 8.031 kB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.09461, allocations: 56.36 kB / 336.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.09509, allocations: 368.2 kB / 337.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.09513, allocations: 33.36 kB / 337.3 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.09521, allocations: 44.38 kB / 337.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007076/0.09592, allocations: 453.5 kB / 337.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.09595, allocations: 11.98 kB / 337.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.096, allocations: 16 kB / 337.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.09602, allocations: 8 kB / 337.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005788/0.0966, allocations: 319.7 kB / 338.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.09885, allocations: 1.812 MB / 340 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/0.09961, allocations: 0.6168 MB / 340.6 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.1002, allocations: 277.4 kB / 340.9 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.1002, allocations: 4.328 kB / 340.9 MB, free: 7.258 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004304/0.1006, allocations: 269.1 kB / 341.1 MB, free: 6.977 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.933e-06/0.1006, allocations: 0 / 341.1 MB, free: 6.977 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002258/0.1029, allocations: 0.8434 MB / 342 MB, free: 6.105 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.103, allocations: 85.05 kB / 342.1 MB, free: 6.004 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.1033, allocations: 312.5 kB / 342.4 MB, free: 5.684 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.1034, allocations: 33.7 kB / 342.4 MB, free: 5.645 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.1035, allocations: 224.3 kB / 342.6 MB, free: 5.422 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.1036, allocations: 138 kB / 342.8 MB, free: 5.285 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.1038, allocations: 78.27 kB / 342.8 MB, free: 5.203 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1039, allocations: 354.7 kB / 343.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.1041, allocations: 129 kB / 343.3 MB, free: 4.723 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.1044, allocations: 245 kB / 343.5 MB, free: 4.426 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.1049, allocations: 385.8 kB / 343.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.105, allocations: 0 / 343.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008344/0.1058, allocations: 0.5017 MB / 344.4 MB, free: 3.484 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1058, allocations: 8 kB / 344.4 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.1058, allocations: 4 kB / 344.4 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004673/0.1063, allocations: 148.7 kB / 344.6 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.1066, allocations: 60 kB / 344.6 MB, free: 3.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.1094, allocations: 2.548 MB / 347.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.1096, allocations: 35.69 kB / 347.2 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.1097, allocations: 20 kB / 347.2 MB, free: 0.5273 MB / 286.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001949/0.1099, allocations: 182.2 kB / 347.4 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.1099, allocations: 35.53 kB / 347.5 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.11, allocations: 44.3 kB / 347.5 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1101, allocations: 11.94 kB / 347.5 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1101, allocations: 0 / 347.5 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1101, allocations: 3.984 kB / 347.5 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.1115, allocations: 1.028 MB / 348.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1115, allocations: 0 / 348.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.1117, allocations: 39.92 kB / 348.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003757/0.1121, allocations: 144.1 kB / 348.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.1121, allocations: 8 kB / 348.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.1147, allocations: 2.53 MB / 351.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1147, allocations: 0 / 351.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1158, allocations: 0.7248 MB / 352 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.116, allocations: 152.5 kB / 352.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.116, allocations: 15.94 kB / 352.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.1163, allocations: 19.98 kB / 352.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/0.1164, allocations: 39.73 kB / 352.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.1164, allocations: 15.92 kB / 352.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.1166, allocations: 219.1 kB / 352.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1166, allocations: 0 / 352.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000537/0.1172, allocations: 139.8 kB / 352.6 MB, free: 10.94 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,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 (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.0001431/0.1173, allocations: 120 kB / 352.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008742/0.1182, allocations: 0.5484 MB / 353.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1182, allocations: 0.9375 kB / 353.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.1188, allocations: 378.4 kB / 353.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.1192, allocations: 72.98 kB / 353.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.1207, allocations: 0.8556 MB / 354.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.1211, allocations: 0.8318 MB / 355.4 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.1213, allocations: 39.39 kB / 355.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.1213, allocations: 27.44 kB / 355.4 MB, free: 7.992 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1213, allocations: 0 / 355.4 MB, free: 7.992 MB / 302.1 MB Notification: Performance of Templates: time 0.01138/0.1327, allocations: 6.885 MB / 362.3 MB, free: 1.102 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches