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.001996/0.001996, allocations: 110.5 kB / 17.73 MB, free: 5.352 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.002406/0.002406, allocations: 187.1 kB / 18.66 MB, free: 4.43 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.912/1.912, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.00122/0.001221, allocations: 43.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1536, allocations: 46.62 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.008554/0.1622, allocations: 3.662 MB / 378.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2289/0.3911, allocations: 0.9536 MB / 379.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007278/0.3919, allocations: 10.31 kB / 379.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.3923, allocations: 77.05 kB / 379.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000529/0.3929, allocations: 144 kB / 380 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.3933, allocations: 160 kB / 380.2 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007027/0.394, allocations: 0.6039 MB / 380.8 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000443/0.3945, allocations: 215.3 kB / 381 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.3948, allocations: 229.2 kB / 381.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.3952, allocations: 245 kB / 381.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.3953, allocations: 55 kB / 381.5 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3954, allocations: 56.91 kB / 381.5 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.3956, allocations: 117.5 kB / 381.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.3959, allocations: 268.1 kB / 381.9 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.397, allocations: 0.6257 MB / 382.5 MB, free: 9.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.397, allocations: 4.875 kB / 382.5 MB, free: 9.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.021e-05/0.397, allocations: 0.5 kB / 382.6 MB, free: 9.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.698e-05/0.3971, allocations: 0 / 382.6 MB, free: 9.359 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.001825/0.3989, allocations: 0.7811 MB / 383.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.399, allocations: 13.5 kB / 383.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.3991, allocations: 58.38 kB / 383.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.3996, allocations: 366.7 kB / 383.8 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.3997, allocations: 32.33 kB / 383.8 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/0.3998, allocations: 46.28 kB / 383.8 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/0.4007, allocations: 456 kB / 384.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.4007, allocations: 1.938 kB / 384.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.4007, allocations: 17.36 kB / 384.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.4008, allocations: 11.22 kB / 384.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/0.4015, allocations: 316 kB / 384.6 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.4039, allocations: 1.827 MB / 386.4 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008846/0.4048, allocations: 0.6098 MB / 387.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.4055, allocations: 275.8 kB / 387.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.4055, allocations: 5.406 kB / 387.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005375/0.4061, allocations: 272.7 kB / 387.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.395e-06/0.4061, allocations: 0 / 387.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002703/0.4088, allocations: 0.8415 MB / 388.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.4089, allocations: 93.55 kB / 388.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.4094, allocations: 309.9 kB / 388.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.4095, allocations: 36.69 kB / 388.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.4097, allocations: 219.5 kB / 389.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.4098, allocations: 137.8 kB / 389.2 MB, free: 5.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.4099, allocations: 87.02 kB / 389.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.4101, allocations: 350.1 kB / 389.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.4103, allocations: 118.9 kB / 389.8 MB, free: 4.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.4107, allocations: 256.9 kB / 390 MB, free: 4.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.4114, allocations: 379.5 kB / 390.4 MB, free: 4.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.4114, allocations: 1.531 kB / 390.4 MB, free: 4.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001099/0.4125, allocations: 0.5063 MB / 390.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.4126, allocations: 6.531 kB / 390.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.4126, allocations: 8.312 kB / 390.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/0.4133, allocations: 151.8 kB / 391.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.4135, allocations: 59.8 kB / 391.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/0.4166, allocations: 2.55 MB / 393.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.417, allocations: 44.67 kB / 393.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.4171, allocations: 19.72 kB / 393.7 MB, free: 2.031 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.0002896/0.4174, allocations: 183.4 kB / 393.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/0.4175, allocations: 40.2 kB / 393.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.4176, allocations: 44.45 kB / 394 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4176, allocations: 3.938 kB / 394 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.4176, allocations: 5.953 kB / 394 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.4176, allocations: 3.531 kB / 394 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.4195, allocations: 1.031 MB / 395 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.4195, allocations: 0 / 395 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.4198, allocations: 32.33 kB / 395.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/0.4203, allocations: 139.6 kB / 395.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.4204, allocations: 20.58 kB / 395.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003674/0.424, allocations: 2.548 MB / 397.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4241, allocations: 1.438 kB / 397.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.4256, allocations: 0.7186 MB / 398.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.426, allocations: 150.5 kB / 398.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.305e-05/0.4261, allocations: 8.422 kB / 398.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.4264, allocations: 20.41 kB / 398.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.4266, allocations: 32.42 kB / 398.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.4266, allocations: 19.19 kB / 398.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004568/0.4271, allocations: 216.7 kB / 398.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4271, allocations: 0.7812 kB / 398.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009058/0.428, allocations: 148.4 kB / 399.1 MB, free: 14.34 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.0002157/0.4283, allocations: 118.5 kB / 399.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.4295, allocations: 0.5373 MB / 399.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4295, allocations: 2.891 kB / 399.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007293/0.4302, allocations: 385.3 kB / 400.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.4309, allocations: 74.16 kB / 400.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.433, allocations: 0.8571 MB / 401 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.4336, allocations: 0.8307 MB / 401.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000196/0.4338, allocations: 43.53 kB / 401.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.4339, allocations: 35.38 kB / 401.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4339, allocations: 0 / 401.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of Templates: time 0.01865/0.4526, allocations: 6.977 MB / 408.9 MB, free: 9.898 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