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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002204/0.002204, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.5 MB / 258.1 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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=500,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=500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 55.91 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.261, allocations: 53.4 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.0052/0.2662, allocations: 3.459 MB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.2681, allocations: 0.9506 MB / 436.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.2683, allocations: 15.94 kB / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.2685, allocations: 83.16 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.2689, allocations: 146.7 kB / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.2693, allocations: 187.7 kB / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006583/0.2699, allocations: 0.6187 MB / 437.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.2702, allocations: 144.6 kB / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.2706, allocations: 247.1 kB / 438.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.2709, allocations: 218.9 kB / 438.5 MB, free: 448 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.749e-05/0.2709, allocations: 56 kB / 438.5 MB, free: 392 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.2711, allocations: 60 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2712, allocations: 127.5 kB / 438.7 MB, free: 204 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.2714, allocations: 231 kB / 438.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007235/0.2722, allocations: 0.6455 MB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2722, allocations: 4 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2722, allocations: 7.938 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2722, allocations: 0 / 439.6 MB, free: 15.32 MB / 350.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.001433/0.2736, allocations: 0.8437 MB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2736, allocations: 19.98 kB / 440.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.2738, allocations: 64.59 kB / 440.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.2744, allocations: 323.1 kB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.2744, allocations: 33.38 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.2745, allocations: 40.38 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.2752, allocations: 499.2 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.2752, allocations: 4 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.2753, allocations: 16 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.2753, allocations: 15.94 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006106/0.2759, allocations: 319.8 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.2783, allocations: 1.623 MB / 443.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.279, allocations: 353 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/0.2796, allocations: 248.8 kB / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.2796, allocations: 4.328 kB / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005001/0.2801, allocations: 298.9 kB / 444.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.2801, allocations: 0 / 444.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002256/0.2824, allocations: 0.767 MB / 445 MB, free: 9.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.2824, allocations: 89.11 kB / 445.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.2828, allocations: 308.5 kB / 445.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.2828, allocations: 37.7 kB / 445.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.283, allocations: 225.3 kB / 445.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.2831, allocations: 142.8 kB / 445.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.2832, allocations: 90.14 kB / 445.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2834, allocations: 354.7 kB / 446.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.2836, allocations: 117 kB / 446.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.284, allocations: 282 kB / 446.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.2845, allocations: 370.7 kB / 447 MB, free: 7.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.2845, allocations: 7.984 kB / 447 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008761/0.2854, allocations: 0.4974 MB / 447.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.2854, allocations: 8 kB / 447.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.2855, allocations: 7.938 kB / 447.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/0.2859, allocations: 153.2 kB / 447.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.2861, allocations: 63.91 kB / 447.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.289, allocations: 2.382 MB / 450.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.2893, allocations: 43.77 kB / 450.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.2893, allocations: 16 kB / 450.1 MB, free: 4.254 MB / 350.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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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.0002372/0.2895, allocations: 177.8 kB / 450.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.2896, allocations: 47.75 kB / 450.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.2897, allocations: 48.23 kB / 450.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2897, allocations: 4 kB / 450.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2897, allocations: 7.938 kB / 450.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2897, allocations: 0 / 450.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.2911, allocations: 0.8719 MB / 451.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2911, allocations: 0 / 451.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.2913, allocations: 39.95 kB / 451.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003848/0.2917, allocations: 144.7 kB / 451.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.2917, allocations: 11.98 kB / 451.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.2944, allocations: 2.379 MB / 453.9 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2944, allocations: 0 / 453.9 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.2956, allocations: 0.7075 MB / 454.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.2958, allocations: 75.59 kB / 454.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.2958, allocations: 16 kB / 454.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.296, allocations: 8 kB / 454.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.2961, allocations: 43.86 kB / 454.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.2962, allocations: 8 kB / 454.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000226/0.2964, allocations: 219.1 kB / 454.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2964, allocations: 0 / 454.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000601/0.297, allocations: 151.7 kB / 455.1 MB, free: 15.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * 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.0001763/0.2972, allocations: 133.6 kB / 455.2 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.2982, allocations: 0.5258 MB / 455.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2982, allocations: 0 / 455.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005628/0.2987, allocations: 370.4 kB / 456.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.2992, allocations: 72.05 kB / 456.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.3009, allocations: 0.9185 MB / 457.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3011, allocations: 228.8 kB / 457.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.3012, allocations: 31.42 kB / 457.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3012, allocations: 0 / 457.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01028/0.3115, allocations: 7.209 MB / 464.5 MB, free: 5.598 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.750789984129369]