Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 47.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2586, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005527/0.2641, allocations: 3.769 MB / 424.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.2661, allocations: 0.9209 MB / 425.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.2664, allocations: 7.938 kB / 425.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.2666, allocations: 79.22 kB / 425.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.267, allocations: 146.7 kB / 425.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.2674, allocations: 167.8 kB / 426 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006933/0.2681, allocations: 0.6031 MB / 426.6 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.2684, allocations: 152.1 kB / 426.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.2687, allocations: 227.2 kB / 426.9 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.269, allocations: 250.9 kB / 427.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.2692, allocations: 56 kB / 427.2 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.2693, allocations: 56 kB / 427.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.2694, allocations: 111.6 kB / 427.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.2697, allocations: 278.7 kB / 427.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007374/0.2704, allocations: 0.6339 MB / 428.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2704, allocations: 0 / 428.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2704, allocations: 0 / 428.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.2704, allocations: 4 kB / 428.3 MB, free: 7.633 MB / 334.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.001568/0.272, allocations: 0.7958 MB / 429.1 MB, free: 6.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.2721, allocations: 8.031 kB / 429.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.2722, allocations: 60.56 kB / 429.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.2727, allocations: 368.4 kB / 429.5 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.2727, allocations: 33.38 kB / 429.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.2728, allocations: 52.31 kB / 429.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008605/0.2737, allocations: 461.5 kB / 430.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2737, allocations: 3.938 kB / 430.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/0.2737, allocations: 23.92 kB / 430.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.962e-05/0.2738, allocations: 12 kB / 430.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008296/0.2747, allocations: 327.7 kB / 430.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.2772, allocations: 1.828 MB / 432.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008122/0.278, allocations: 0.5769 MB / 432.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005729/0.2786, allocations: 249.3 kB / 433.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.2786, allocations: 4.328 kB / 433.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005676/0.2792, allocations: 277.1 kB / 433.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.894e-06/0.2792, allocations: 0 / 433.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002355/0.2816, allocations: 0.8317 MB / 434.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.2817, allocations: 89.09 kB / 434.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.2821, allocations: 308.5 kB / 434.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.2821, allocations: 37.7 kB / 434.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.2823, allocations: 216.7 kB / 434.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.2824, allocations: 146.8 kB / 435 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.2825, allocations: 86.25 kB / 435 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.2827, allocations: 358.7 kB / 435.4 MB, free: 172 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.2829, allocations: 117.1 kB / 435.5 MB, free: 56 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.2833, allocations: 257 kB / 435.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006327/0.2839, allocations: 379.2 kB / 436.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2839, allocations: 4 kB / 436.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000893/0.2848, allocations: 0.4938 MB / 436.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2848, allocations: 11.98 kB / 436.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2849, allocations: 0 / 436.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004607/0.2853, allocations: 156.9 kB / 436.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.2855, allocations: 63.84 kB / 436.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/0.2887, allocations: 2.544 MB / 439.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.2889, allocations: 39.88 kB / 439.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.2889, allocations: 20 kB / 439.5 MB, free: 11.85 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_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.0002423/0.2892, allocations: 190.5 kB / 439.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.2893, allocations: 43.72 kB / 439.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/0.2893, allocations: 48.23 kB / 439.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.2893, allocations: 4 kB / 439.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2894, allocations: 0 / 439.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2894, allocations: 4 kB / 439.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.2908, allocations: 1.009 MB / 440.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.2908, allocations: 4 kB / 440.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.291, allocations: 35.86 kB / 440.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/0.2915, allocations: 144.8 kB / 440.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.2915, allocations: 8 kB / 440.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/0.2945, allocations: 2.537 MB / 443.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2946, allocations: 3.938 kB / 443.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.2957, allocations: 0.7217 MB / 444.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.2959, allocations: 148.8 kB / 444.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.2959, allocations: 16 kB / 444.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2962, allocations: 15.98 kB / 444.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.2963, allocations: 40.08 kB / 444.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.2963, allocations: 15.98 kB / 444.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.2965, allocations: 219.1 kB / 444.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2965, allocations: 0 / 444.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000596/0.2971, allocations: 143.8 kB / 444.8 MB, free: 6.266 MB / 350.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001569/0.2973, allocations: 123.2 kB / 444.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009533/0.2982, allocations: 0.5219 MB / 445.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2982, allocations: 0 / 445.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.2987, allocations: 358.5 kB / 445.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.2992, allocations: 87.94 kB / 445.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.3008, allocations: 0.8685 MB / 446.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.3013, allocations: 0.8279 MB / 447.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.3014, allocations: 43.3 kB / 447.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.3014, allocations: 27.42 kB / 447.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3014, allocations: 4 kB / 447.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of Templates: time 0.01374/0.3152, allocations: 7.203 MB / 454.8 MB, free: 12.26 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.6242654994130135]