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.001566/0.001566, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.001944/0.001945, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.746/1.746, allocations: 205.1 MB / 224.5 MB, free: 12.26 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.001227/0.001227, allocations: 51.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 46.62 MB / 375.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005146/0.1237, allocations: 3.655 MB / 378.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2688/0.3925, allocations: 0.9574 MB / 379.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007834/0.3933, allocations: 6.875 kB / 379.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.3938, allocations: 80.02 kB / 379.9 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.3943, allocations: 137.3 kB / 380 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.3948, allocations: 161.3 kB / 380.1 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000844/0.3957, allocations: 0.6058 MB / 380.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000513/0.3962, allocations: 216.1 kB / 381 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.3966, allocations: 231.3 kB / 381.2 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.3971, allocations: 244 kB / 381.4 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.3972, allocations: 55.09 kB / 381.5 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3974, allocations: 54.97 kB / 381.5 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.3975, allocations: 116.3 kB / 381.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.3979, allocations: 271 kB / 381.9 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009728/0.3989, allocations: 0.6244 MB / 382.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3989, allocations: 0.625 kB / 382.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3989, allocations: 3.531 kB / 382.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.3989, allocations: 0.5 kB / 382.5 MB, free: 9.383 MB / 318.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.001549/0.4005, allocations: 0.7632 MB / 383.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.4005, allocations: 14.03 kB / 383.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.4007, allocations: 59.75 kB / 383.4 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.4012, allocations: 363.3 kB / 383.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.4013, allocations: 33.03 kB / 383.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/0.4014, allocations: 45.84 kB / 383.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008457/0.4022, allocations: 459.4 kB / 384.3 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.4023, allocations: 5.969 kB / 384.3 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.4023, allocations: 17.75 kB / 384.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.4023, allocations: 10.19 kB / 384.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/0.403, allocations: 314.4 kB / 384.6 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.4057, allocations: 1.822 MB / 386.4 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007514/0.4064, allocations: 0.6114 MB / 387 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.407, allocations: 274 kB / 387.3 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.4071, allocations: 6.484 kB / 387.3 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004763/0.4076, allocations: 269 kB / 387.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.4076, allocations: 0 / 387.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.0024/0.41, allocations: 0.8394 MB / 388.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.4101, allocations: 94.59 kB / 388.5 MB, free: 5.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.4105, allocations: 311.2 kB / 388.8 MB, free: 5.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.4106, allocations: 36.33 kB / 388.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.4107, allocations: 215.6 kB / 389.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/0.4108, allocations: 128.4 kB / 389.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.411, allocations: 87.11 kB / 389.3 MB, free: 5.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4111, allocations: 351 kB / 389.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.4113, allocations: 118.4 kB / 389.7 MB, free: 4.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.4116, allocations: 255.6 kB / 390 MB, free: 4.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.4121, allocations: 375.2 kB / 390.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4122, allocations: 3.312 kB / 390.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008943/0.4131, allocations: 0.512 MB / 390.9 MB, free: 4.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4131, allocations: 6.906 kB / 390.9 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4131, allocations: 6.656 kB / 390.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005112/0.4136, allocations: 145.1 kB / 391 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.4139, allocations: 63.86 kB / 391.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.4165, allocations: 2.554 MB / 393.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.4169, allocations: 43.92 kB / 393.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.4169, allocations: 18.77 kB / 393.7 MB, free: 2.086 MB / 318.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.0002304/0.4172, allocations: 179.1 kB / 393.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.4172, allocations: 40.16 kB / 393.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.732e-05/0.4173, allocations: 47.3 kB / 393.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4173, allocations: 5.609 kB / 394 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4174, allocations: 5.25 kB / 394 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.4174, allocations: 5.906 kB / 394 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.4188, allocations: 1.029 MB / 395 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.4189, allocations: 0.75 kB / 395 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.419, allocations: 35.23 kB / 395 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/0.4194, allocations: 142.2 kB / 395.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.4195, allocations: 17.14 kB / 395.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.4222, allocations: 2.533 MB / 397.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4222, allocations: 1.734 kB / 397.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.4234, allocations: 0.7204 MB / 398.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.4236, allocations: 151.2 kB / 398.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.4237, allocations: 8.609 kB / 398.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.4239, allocations: 20.38 kB / 398.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.424, allocations: 36.41 kB / 398.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.4241, allocations: 14.38 kB / 398.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.4243, allocations: 218.1 kB / 398.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4244, allocations: 0 / 398.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006175/0.425, allocations: 145 kB / 399 MB, free: 14.41 MB / 334.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.0001496/0.4251, allocations: 116.3 kB / 399.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.4262, allocations: 0.5372 MB / 399.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4262, allocations: 1.031 kB / 399.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.4268, allocations: 380.3 kB / 400 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.4273, allocations: 76.91 kB / 400.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.429, allocations: 0.8427 MB / 401 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.4295, allocations: 0.8298 MB / 401.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.4296, allocations: 37.06 kB / 401.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.4297, allocations: 36.56 kB / 401.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4297, allocations: 3.938 kB / 401.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Templates: time 0.01343/0.4432, allocations: 6.979 MB / 408.8 MB, free: 9.973 MB / 334.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 -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/jenkins/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/jenkins/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