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.001363/0.001363, allocations: 109.4 kB / 18.4 MB, free: 4.703 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.001501/0.001501, allocations: 193.2 kB / 19.33 MB, free: 3.781 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.303/1.303, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001182/0.001182, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08438, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004639/0.08906, allocations: 3.659 MB / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1775/0.2665, allocations: 0.958 MB / 380.4 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005131/0.2671, allocations: 6.875 kB / 380.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.2674, allocations: 77.02 kB / 380.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.2678, allocations: 140.9 kB / 380.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.2682, allocations: 161.1 kB / 380.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.2688, allocations: 0.6077 MB / 381.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.2692, allocations: 212 kB / 381.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.2695, allocations: 228.6 kB / 381.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.2698, allocations: 248.7 kB / 382.1 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.23e-05/0.2699, allocations: 57.75 kB / 382.2 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.27, allocations: 54.03 kB / 382.2 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.2701, allocations: 118 kB / 382.3 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.2704, allocations: 268.6 kB / 382.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007348/0.2711, allocations: 0.622 MB / 383.2 MB, free: 9.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2712, allocations: 0.5312 kB / 383.2 MB, free: 9.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2712, allocations: 0 / 383.2 MB, free: 9.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.2712, allocations: 4.031 kB / 383.2 MB, free: 9.379 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.001419/0.2726, allocations: 0.7688 MB / 384 MB, free: 8.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2727, allocations: 9.656 kB / 384 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.2728, allocations: 60.92 kB / 384.1 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.2732, allocations: 361.3 kB / 384.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.2733, allocations: 35.83 kB / 384.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-05/0.2733, allocations: 41.5 kB / 384.5 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007416/0.2741, allocations: 459.5 kB / 384.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.2741, allocations: 5.438 kB / 384.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.2742, allocations: 17.44 kB / 385 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2742, allocations: 10.22 kB / 385 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000585/0.2748, allocations: 314.2 kB / 385.3 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.277, allocations: 1.823 MB / 387.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006903/0.2777, allocations: 0.6064 MB / 387.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.2783, allocations: 278.2 kB / 388 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.2784, allocations: 5.672 kB / 388 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000462/0.2788, allocations: 272.4 kB / 388.2 MB, free: 6.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.2788, allocations: 0 / 388.2 MB, free: 6.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002211/0.2811, allocations: 0.8457 MB / 389.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.2811, allocations: 83.47 kB / 389.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.2815, allocations: 314.1 kB / 389.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.2815, allocations: 37.8 kB / 389.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2816, allocations: 214 kB / 389.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.2817, allocations: 131.5 kB / 389.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.2819, allocations: 88.03 kB / 389.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.2819, allocations: 349.9 kB / 390.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.2822, allocations: 119.8 kB / 390.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.2824, allocations: 254.4 kB / 390.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.2829, allocations: 376.4 kB / 391 MB, free: 4.473 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2829, allocations: 5.125 kB / 391 MB, free: 4.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008267/0.2838, allocations: 0.5065 MB / 391.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2838, allocations: 11.36 kB / 391.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.2838, allocations: 4.625 kB / 391.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004644/0.2843, allocations: 152.8 kB / 391.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.2845, allocations: 60.36 kB / 391.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.2869, allocations: 2.551 MB / 394.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.2872, allocations: 40.5 kB / 394.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.2872, allocations: 22.56 kB / 394.4 MB, free: 2.078 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.0002258/0.2874, allocations: 180.1 kB / 394.5 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.2875, allocations: 37.47 kB / 394.6 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.905e-05/0.2876, allocations: 47 kB / 394.6 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2876, allocations: 4.406 kB / 394.6 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2876, allocations: 3.938 kB / 394.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2876, allocations: 6.609 kB / 394.6 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.289, allocations: 1.024 MB / 395.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.289, allocations: 2.094 kB / 395.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.2891, allocations: 34.23 kB / 395.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000366/0.2895, allocations: 148.8 kB / 395.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.2896, allocations: 7.516 kB / 395.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/0.2921, allocations: 2.543 MB / 398.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2921, allocations: 0 / 398.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.2933, allocations: 0.7181 MB / 399.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.2935, allocations: 151.1 kB / 399.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.2936, allocations: 8.953 kB / 399.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.2938, allocations: 20.64 kB / 399.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.294, allocations: 31.56 kB / 399.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.294, allocations: 14.83 kB / 399.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002661/0.2943, allocations: 222.8 kB / 399.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2943, allocations: 0 / 399.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006366/0.2949, allocations: 142.6 kB / 399.7 MB, free: 14.39 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.0001649/0.2951, allocations: 121.2 kB / 399.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009765/0.2961, allocations: 0.5329 MB / 400.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2961, allocations: 0 / 400.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.2967, allocations: 388.3 kB / 400.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.2972, allocations: 80.81 kB / 400.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.2988, allocations: 0.8745 MB / 401.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.2993, allocations: 0.8313 MB / 402.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.2994, allocations: 28.81 kB / 402.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2994, allocations: 0 / 402.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of Templates: time 0.0107/0.3101, allocations: 7.02 MB / 409.6 MB, free: 9.746 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/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